Your message dated Sat, 13 Jul 2024 16:35:21 +0000
with message-id <e1ssfit-00dn9p...@fasolo.debian.org>
and subject line Bug#1074725: fixed in poetry 1.8.3+dfsg-3
has caused the Debian Bug report #1074725,
regarding poetry: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i 
python{version} -p "3.11 3.12" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1074725: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074725
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: poetry
Version: 1.8.3+dfsg-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:311: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry  
> * Building wheel...
> Successfully built poetry-1.8.3-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with 
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_poetry  
> * Building wheel...
> Successfully built poetry-1.8.3-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry/build; 
> python3.11 -m pytest --ignore=tests/console/commands/env/test_list.py 
> --ignore=tests/console/commands/env/test_remove.py 
> --ignore=tests/console/commands/env/test_use.py 
> --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py 
> --ignore=tests/utils/test_helpers.py -k 'not 
> test_self_update_should_install_all_necessary_elements and not 
> test_add_file_constraint_sdist and not 
> test_add_file_constraint_sdist_old_installer and not 
> test_builder_setup_generation_runs_with_pip_editable and not 
> test_publish_dry_run and not test_info_from_sdist and not 
> test_installer_can_install_dependencies_from_forced_source and not 
> test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and 
> not test_solver_can_resolve_sdist_dependencies and not 
> test_solver_can_resolve_sdist_dependencies_with_extras and not 
> test_solver_chooses_from_correct_repository_if_forced and not 
> test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency
>  and not test_solver_does_not_choose_from_secondary_repository_by_default and 
> not test_solver_chooses_from_secondary_if_explicit and not 
> test_get_package_information_fallback_read_setup and not 
> test_get_package_information_skips_dependencies_with_invalid_constraints and 
> not test_get_package_retrieves_packages_with_no_hashes and not 
> test_fallback_can_read_setup_to_get_dependencies and not 
> test_exporter_can_export_requirements_txt_with_file_packages and not 
> test_exporter_can_export_requirements_txt_with_file_packages_and_markers and 
> not test_lock_no_update and not 
> test_locker_dumps_dependency_information_correctly and not 
> test_package_partial_yank and not 
> test_run_installs_with_same_version_url_files and not 
> test_env_info_displays_complete_info and not test_skip_existing_output and 
> not 
> test_installer_should_use_the_locked_version_of_git_dependencies_with_extras 
> and not 
> test_installer_should_use_the_locked_version_of_git_dependencies_without_reference
>  and not test_installer_uses_prereleases_if_they_are_compatible and not 
> test_requirement_git_subdirectory and not test_check_valid and not 
> test_check_invalid and not test_packages_property_returns_empty_list and not 
> test_parse_dependency_specification and not 
> test_info_setup_missing_mandatory_should_trigger_pep517 and not 
> test_uninstall_git_package_nspkg_pth_cleanup and not 
> test_executor_should_write_pep610_url_references_for_directories and not 
> test_executor_should_write_pep610_url_references_for_git and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_urls 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_files 
> and not test_prepare_sdist and not test_shell and not 
> test_chooser_md5_remote_fallback_to_sha256_inline_calculation and not 
> test_solver_ignores_explicit_repo_for_transient_dependencies and not 
> test_installer_with_pypi_repository and not test_prepare_directory_editable 
> and not test_prepare_directory and not test_prepare_directory_with_extensions 
> and not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess and 
> not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding
>  and not test_isolated_env_install_success and not 
> test_isolated_env_install_error and not test_isolated_env_install_failure and 
> not test_application_with_plugins and not 
> test_build_system_requires_not_available and not 
> test_build_system_requires_install_failure and not 
> test_prepare_directory_script and not test_fallback_on_detect_active_python 
> and not test_get_venv_with_venv_folder_present and not test_not_fresh_lock 
> and not test_list and not test_info_setup_complex_calls_script and not 
> test_publish_dist_dir_option and not test_executor_known_hashes'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.9, pytest-8.2.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry/build
> configfile: pyproject.toml
> testpaths: tests
> plugins: xdist-3.6.1, mock-3.14.0
> created: 8/8 workers
> 8 workers [1420 items]
> 
> ........................................................................ [  
> 5%]
> ........................................................................ [ 
> 10%]
> ........................................................................ [ 
> 15%]
> ........................................................................ [ 
> 20%]
> ................................................s........................ [ 
> 25%]
> ........................................................................ [ 
> 30%]
> ........................................................................ [ 
> 35%]
> ........................................................................ [ 
> 40%]
> ........................................................................ [ 
> 45%]
> ........................................................................ [ 
> 50%]
> .......................................s.................................. [ 
> 55%]
> .............................................s........................... [ 
> 61%]
> ......................................................................... [ 
> 66%]
> ........................................................................ [ 
> 71%]
> ........................................................................ [ 
> 76%]
> ...........................................F...s........................ [ 
> 81%]
> ......................................................................... [ 
> 86%]
> ......................................................................... [ 
> 91%]
> .................s......F.....................F.F.s..................... [ 
> 96%]
> .............................................                            
> [100%]
> =================================== FAILURES 
> ===================================
> _____________ test_build_environment_called_build_script_specified 
> _____________
> [gw6] linux -- Python 3.11.9 /usr/bin/python3.11
> 
> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f5da5d57850>
> extended_without_setup_poetry = <poetry.poetry.Poetry object at 
> 0x7f5da4dc4490>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-12/popen-gw6/test_build_environment_called_0')
> 
>     def test_build_environment_called_build_script_specified(
>         mocker: MockerFixture, extended_without_setup_poetry: Poetry, 
> tmp_path: Path
>     ) -> None:
>         project_env = MockEnv(path=tmp_path / "project")
>         ephemeral_env = MockEnv(path=tmp_path / "ephemeral")
>     
>         mocker.patch(
>             "poetry.utils.env.ephemeral_environment"
>         ).return_value.__enter__.return_value = ephemeral_env
>     
> >       with build_environment(extended_without_setup_poetry, project_env) as 
> > env:
> 
> tests/utils/env/test_env.py:483: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.11/contextlib.py:137: in __enter__
>     return next(self.gen)
> poetry/utils/env/__init__.py:81: in build_environment
>     output = venv.run_pip(
> poetry/utils/env/base_env.py:308: in run_pip
>     pip = self.get_pip_command()
> poetry/utils/env/base_env.py:275: in get_pip_command
>     return [str(self.python), str(self.pip_embedded)]
> poetry/utils/env/base_env.py:148: in pip_embedded
>     self._embedded_pip_path = self.get_embedded_wheel("pip") / "pip"
> poetry/utils/env/base_env.py:139: in get_embedded_wheel
>     wheel: Wheel = get_embed_wheel(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> distribution = 'pip', for_py_version = '3.7'
> 
>     def get_embed_wheel(distribution, for_py_version):
>         # Debian specific: Point at the appropriate wheel package
>         wheel = BUNDLE_SUPPORT.get(for_py_version, {}).get(distribution)
>         if wheel is None:
> >           raise Exception((
>                     "Wheel for {} for Python {} is unavailable. "
>                     "apt install python{}-{}-whl"
>                 ).format(
>                     distribution,
>                     for_py_version,
>                     '2' if for_py_version == '2.7' else '3',
>                     distribution,
>                 ))
> E           Exception: Wheel for pip for Python 3.7 is unavailable. apt 
> install python3-pip-whl
> 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73: 
> Exception
> _________________ test_execute_executes_a_batch_of_operations 
> __________________
> [gw3] linux -- Python 3.11.9 /usr/bin/python3.11
> 
> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f750fff11d0>
> config = <tests.conftest.Config object at 0x7f750fc78610>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at 
> 0x7f750d6daa50>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7f750ffa4590>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-12/popen-gw3/test_execute_executes_a_batch_0')
> mock_file_downloads = None
> env = 
> MockEnv("/tmp/pytest-of-user42/pytest-12/popen-gw3/test_execute_executes_a_batch_0/.venv")
> copy_wheel = <function copy_wheel.<locals>._copy_wheel at 0x7f750fff5ee0>
> fixture_dir = <function fixture_dir.<locals>._fixture_dir at 0x7f75161d2840>
> 
>     def test_execute_executes_a_batch_of_operations(
>         mocker: MockerFixture,
>         config: Config,
>         pool: RepositoryPool,
>         io: BufferedIO,
>         tmp_path: Path,
>         mock_file_downloads: None,
>         env: MockEnv,
>         copy_wheel: Callable[[], Path],
>         fixture_dir: FixtureDirGetter,
>     ) -> None:
>         wheel_install = mocker.patch.object(WheelInstaller, "install")
>     
>         config.merge({"cache-dir": str(tmp_path)})
>         artifact_cache = 
> ArtifactCache(cache_dir=config.artifacts_cache_directory)
>     
>         prepare_spy = mocker.spy(Chef, "_prepare")
>         chef = Chef(artifact_cache, env, Factory.create_pool(config))
>         chef.set_directory_wheel([copy_wheel(), copy_wheel()])
>         chef.set_sdist_wheel(copy_wheel())
>     
>         io.set_verbosity(Verbosity.VERY_VERBOSE)
>     
>         executor = Executor(env, pool, config, io)
>         executor._chef = chef
>     
>         file_package = Package(
>             "demo",
>             "0.1.0",
>             source_type="file",
>             source_url=(fixture_dir("distributions") / 
> "demo-0.1.0-py2.py3-none-any.whl")
>             .resolve()
>             .as_posix(),
>         )
>     
>         directory_package = Package(
>             "simple-project",
>             "1.2.3",
>             source_type="directory",
>             source_url=fixture_dir("simple_project").resolve().as_posix(),
>         )
>     
>         git_package = Package(
>             "demo",
>             "0.1.0",
>             source_type="git",
>             source_reference="master",
>             source_url="https://github.com/demo/demo.git";,
>             develop=True,
>         )
>     
>         return_code = executor.execute(
>             [
>                 Install(Package("pytest", "3.5.1")),
>                 Uninstall(Package("attrs", "17.4.0")),
>                 Update(Package("requests", "2.18.3"), Package("requests", 
> "2.18.4")),
>                 Update(Package("pytest", "3.5.1"), Package("pytest", 
> "3.5.0")),
>                 Uninstall(Package("clikit", "0.2.3")).skip("Not currently 
> installed"),
>                 Install(file_package),
>                 Install(directory_package),
>                 Install(git_package),
>             ]
>         )
>     
>         expected = f"""
>     Package operations: 4 installs, 2 updates, 1 removal
>     
>       - Installing pytest (3.5.1)
>       - Removing attrs (17.4.0)
>       - Updating requests (2.18.3 -> 2.18.4)
>       - Downgrading pytest (3.5.1 -> 3.5.0)
>       - Installing demo (0.1.0 {file_package.source_url})
>       - Installing simple-project (1.2.3 {directory_package.source_url})
>       - Installing demo (0.1.0 master)
>     """
>     
>         expected_lines = set(expected.splitlines())
>         output_lines = set(io.fetch_output().splitlines())
> >       assert output_lines == expected_lines
> E       assert {'', '       ...able. "', ...} == {'', '  - Dow...roject)', 
> ...}
> E         
> E         Extra items in the left set:
> E         '       69│ def get_embed_wheel(distribution, for_py_version):'
> E         '  3  poetry/utils/env/base_env.py:275 in get_pip_command'
> E         '       pip = self.get_pip_command()'
> E         '    →  73│         raise Exception(('
> E         '       return [str(self.python), str(self.pip_embedded)]'...
> E         
> E         ...Full output truncated (34 lines hidden), use '-vv' to show
> 
> tests/installation/test_executor.py:236: AssertionError
> ______ test_execute_prints_warning_for_yanked_package[operations1-False] 
> _______
> [gw3] linux -- Python 3.11.9 /usr/bin/python3.11
> 
> config = <tests.conftest.Config object at 0x7f750c82ff10>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at 
> 0x7f750fce6050>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7f750fce6b50>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-12/popen-gw3/test_execute_prints_warning_fo1')
> mock_file_downloads = None
> env = 
> MockEnv("/tmp/pytest-of-user42/pytest-12/popen-gw3/test_execute_prints_warning_fo1/.venv")
> operations = [<Uninstall black (21.11b0)>, <Uninstall pytest (3.5.1)>]
> has_warning = False
> 
>     @pytest.mark.parametrize(
>         "operations, has_warning",
>         [
>             (
>                 [Install(Package("black", "21.11b0")), 
> Install(Package("pytest", "3.5.1"))],
>                 True,
>             ),
>             (
>                 [
>                     Uninstall(Package("black", "21.11b0")),
>                     Uninstall(Package("pytest", "3.5.1")),
>                 ],
>                 False,
>             ),
>             (
>                 [
>                     Update(Package("black", "19.10b0"), Package("black", 
> "21.11b0")),
>                     Update(Package("pytest", "3.5.0"), Package("pytest", 
> "3.5.1")),
>                 ],
>                 True,
>             ),
>         ],
>     )
>     def test_execute_prints_warning_for_yanked_package(
>         config: Config,
>         pool: RepositoryPool,
>         io: BufferedIO,
>         tmp_path: Path,
>         mock_file_downloads: None,
>         env: MockEnv,
>         operations: list[Operation],
>         has_warning: bool,
>     ) -> None:
>         config.merge({"cache-dir": str(tmp_path)})
>     
>         executor = Executor(env, pool, config, io)
>     
>         return_code = executor.execute(operations)
>     
>         expected = (
>             "Warning: The file chosen for install of black 21.11b0 "
>             "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being 
> yanked: "
>             "Broken regex dependency. Use 21.11b1 instead."
>         )
>         output = io.fetch_output()
>         error = io.fetch_error()
> >       assert return_code == 0, f"\noutput: {output}\nerror: {error}\n"
> E       AssertionError: 
> E         output: 
> E         Package operations: 0 installs, 0 updates, 2 removals
> E         
> E           - Removing black (21.11b0)
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install black.
> E         
> E           - Removing pytest (3.5.1)
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install pytest.
> E         
> E         
> E         error: 
> E         
> E       assert 1 == 0
> 
> tests/installation/test_executor.py:295: AssertionError
> _______ test_execute_prints_warning_for_yanked_package[operations2-True] 
> _______
> [gw3] linux -- Python 3.11.9 /usr/bin/python3.11
> 
> config = <tests.conftest.Config object at 0x7f750c82fc10>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at 
> 0x7f750fc76c10>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7f750fc76650>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-12/popen-gw3/test_execute_prints_warning_fo2')
> mock_file_downloads = None
> env = 
> MockEnv("/tmp/pytest-of-user42/pytest-12/popen-gw3/test_execute_prints_warning_fo2/.venv")
> operations = [<Update black (19.10b0) to black (21.11b0)>, <Update pytest 
> (3.5.0) to pytest (3.5.1)>]
> has_warning = True
> 
>     @pytest.mark.parametrize(
>         "operations, has_warning",
>         [
>             (
>                 [Install(Package("black", "21.11b0")), 
> Install(Package("pytest", "3.5.1"))],
>                 True,
>             ),
>             (
>                 [
>                     Uninstall(Package("black", "21.11b0")),
>                     Uninstall(Package("pytest", "3.5.1")),
>                 ],
>                 False,
>             ),
>             (
>                 [
>                     Update(Package("black", "19.10b0"), Package("black", 
> "21.11b0")),
>                     Update(Package("pytest", "3.5.0"), Package("pytest", 
> "3.5.1")),
>                 ],
>                 True,
>             ),
>         ],
>     )
>     def test_execute_prints_warning_for_yanked_package(
>         config: Config,
>         pool: RepositoryPool,
>         io: BufferedIO,
>         tmp_path: Path,
>         mock_file_downloads: None,
>         env: MockEnv,
>         operations: list[Operation],
>         has_warning: bool,
>     ) -> None:
>         config.merge({"cache-dir": str(tmp_path)})
>     
>         executor = Executor(env, pool, config, io)
>     
>         return_code = executor.execute(operations)
>     
>         expected = (
>             "Warning: The file chosen for install of black 21.11b0 "
>             "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being 
> yanked: "
>             "Broken regex dependency. Use 21.11b1 instead."
>         )
>         output = io.fetch_output()
>         error = io.fetch_error()
> >       assert return_code == 0, f"\noutput: {output}\nerror: {error}\n"
> E       AssertionError: 
> E         output: 
> E         Package operations: 0 installs, 2 updates, 0 removals
> E         
> E           - Updating black (19.10b0 -> 21.11b0)
> E           - Updating pytest (3.5.0 -> 3.5.1)
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install black.
> E         
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install pytest.
> E         
> E         
> E         error: <warning>Warning: The file chosen for install of black 
> 21.11b0 (black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: 
> Broken regex dependency. Use 21.11b1 instead.
> E         
> E         
> E       assert 1 == 0
> 
> tests/installation/test_executor.py:295: AssertionError
> =========================== short test summary info 
> ============================
> FAILED 
> tests/utils/env/test_env.py::test_build_environment_called_build_script_specified
> FAILED 
> tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
> FAILED 
> tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations1-False]
> FAILED 
> tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
> ================== 4 failed, 1410 passed, 6 skipped in 35.76s 
> ==================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_poetry/build; python3.11 -m pytest 
> --ignore=tests/console/commands/env/test_list.py 
> --ignore=tests/console/commands/env/test_remove.py 
> --ignore=tests/console/commands/env/test_use.py 
> --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py 
> --ignore=tests/utils/test_helpers.py -k 'not 
> test_self_update_should_install_all_necessary_elements and not 
> test_add_file_constraint_sdist and not 
> test_add_file_constraint_sdist_old_installer and not 
> test_builder_setup_generation_runs_with_pip_editable and not 
> test_publish_dry_run and not test_info_from_sdist and not 
> test_installer_can_install_dependencies_from_forced_source and not 
> test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and 
> not test_solver_can_resolve_sdist_dependencies and not 
> test_solver_can_resolve_sdist_dependencies_with_extras and not 
> test_solver_chooses_from_correct_repository_if_forced and not 
> test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency
>  and not test_solver_does_not_choose_from_secondary_repository_by_default and 
> not test_solver_chooses_from_secondary_if_explicit and not 
> test_get_package_information_fallback_read_setup and not 
> test_get_package_information_skips_dependencies_with_invalid_constraints and 
> not test_get_package_retrieves_packages_with_no_hashes and not 
> test_fallback_can_read_setup_to_get_dependencies and not 
> test_exporter_can_export_requirements_txt_with_file_packages and not 
> test_exporter_can_export_requirements_txt_with_file_packages_and_markers and 
> not test_lock_no_update and not 
> test_locker_dumps_dependency_information_correctly and not 
> test_package_partial_yank and not 
> test_run_installs_with_same_version_url_files and not 
> test_env_info_displays_complete_info and not test_skip_existing_output and 
> not 
> test_installer_should_use_the_locked_version_of_git_dependencies_with_extras 
> and not 
> test_installer_should_use_the_locked_version_of_git_dependencies_without_reference
>  and not test_installer_uses_prereleases_if_they_are_compatible and not 
> test_requirement_git_subdirectory and not test_check_valid and not 
> test_check_invalid and not test_packages_property_returns_empty_list and not 
> test_parse_dependency_specification and not 
> test_info_setup_missing_mandatory_should_trigger_pep517 and not 
> test_uninstall_git_package_nspkg_pth_cleanup and not 
> test_executor_should_write_pep610_url_references_for_directories and not 
> test_executor_should_write_pep610_url_references_for_git and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_urls 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_files 
> and not test_prepare_sdist and not test_shell and not 
> test_chooser_md5_remote_fallback_to_sha256_inline_calculation and not 
> test_solver_ignores_explicit_repo_for_transient_dependencies and not 
> test_installer_with_pypi_repository and not test_prepare_directory_editable 
> and not test_prepare_directory and not test_prepare_directory_with_extensions 
> and not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess and 
> not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding
>  and not test_isolated_env_install_success and not 
> test_isolated_env_install_error and not test_isolated_env_install_failure and 
> not test_application_with_plugins and not 
> test_build_system_requires_not_available and not 
> test_build_system_requires_install_failure and not 
> test_prepare_directory_script and not test_fallback_on_detect_active_python 
> and not test_get_venv_with_venv_folder_present and not test_not_fresh_lock 
> and not test_list and not test_info_setup_complex_calls_script and not 
> test_publish_dist_dir_option and not test_executor_known_hashes'
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_poetry/build; 
> python3.12 -m pytest --ignore=tests/console/commands/env/test_list.py 
> --ignore=tests/console/commands/env/test_remove.py 
> --ignore=tests/console/commands/env/test_use.py 
> --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py 
> --ignore=tests/utils/test_helpers.py -k 'not 
> test_self_update_should_install_all_necessary_elements and not 
> test_add_file_constraint_sdist and not 
> test_add_file_constraint_sdist_old_installer and not 
> test_builder_setup_generation_runs_with_pip_editable and not 
> test_publish_dry_run and not test_info_from_sdist and not 
> test_installer_can_install_dependencies_from_forced_source and not 
> test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and 
> not test_solver_can_resolve_sdist_dependencies and not 
> test_solver_can_resolve_sdist_dependencies_with_extras and not 
> test_solver_chooses_from_correct_repository_if_forced and not 
> test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency
>  and not test_solver_does_not_choose_from_secondary_repository_by_default and 
> not test_solver_chooses_from_secondary_if_explicit and not 
> test_get_package_information_fallback_read_setup and not 
> test_get_package_information_skips_dependencies_with_invalid_constraints and 
> not test_get_package_retrieves_packages_with_no_hashes and not 
> test_fallback_can_read_setup_to_get_dependencies and not 
> test_exporter_can_export_requirements_txt_with_file_packages and not 
> test_exporter_can_export_requirements_txt_with_file_packages_and_markers and 
> not test_lock_no_update and not 
> test_locker_dumps_dependency_information_correctly and not 
> test_package_partial_yank and not 
> test_run_installs_with_same_version_url_files and not 
> test_env_info_displays_complete_info and not test_skip_existing_output and 
> not 
> test_installer_should_use_the_locked_version_of_git_dependencies_with_extras 
> and not 
> test_installer_should_use_the_locked_version_of_git_dependencies_without_reference
>  and not test_installer_uses_prereleases_if_they_are_compatible and not 
> test_requirement_git_subdirectory and not test_check_valid and not 
> test_check_invalid and not test_packages_property_returns_empty_list and not 
> test_parse_dependency_specification and not 
> test_info_setup_missing_mandatory_should_trigger_pep517 and not 
> test_uninstall_git_package_nspkg_pth_cleanup and not 
> test_executor_should_write_pep610_url_references_for_directories and not 
> test_executor_should_write_pep610_url_references_for_git and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_urls 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_files 
> and not test_prepare_sdist and not test_shell and not 
> test_chooser_md5_remote_fallback_to_sha256_inline_calculation and not 
> test_solver_ignores_explicit_repo_for_transient_dependencies and not 
> test_installer_with_pypi_repository and not test_prepare_directory_editable 
> and not test_prepare_directory and not test_prepare_directory_with_extensions 
> and not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess and 
> not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding
>  and not test_isolated_env_install_success and not 
> test_isolated_env_install_error and not test_isolated_env_install_failure and 
> not test_application_with_plugins and not 
> test_build_system_requires_not_available and not 
> test_build_system_requires_install_failure and not 
> test_prepare_directory_script and not test_fallback_on_detect_active_python 
> and not test_get_venv_with_venv_folder_present and not test_not_fresh_lock 
> and not test_list and not test_info_setup_complex_calls_script and not 
> test_publish_dist_dir_option and not test_executor_known_hashes'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_poetry/build
> configfile: pyproject.toml
> testpaths: tests
> plugins: xdist-3.6.1, mock-3.14.0
> created: 8/8 workers
> 8 workers [1420 items]
> 
> ........................................................................ [  
> 5%]
> ......................................................................... [ 
> 10%]
> ........................................................................ [ 
> 15%]
> ........................................................................ [ 
> 20%]
> ..................s..................................................... [ 
> 25%]
> ........................................................................ [ 
> 30%]
> ..................F.............F..............F.s...................... [ 
> 35%]
> ........................................................................ [ 
> 40%]
> ........................................................................ [ 
> 45%]
> ........................................................................ [ 
> 50%]
> .......................................................s................ [ 
> 55%]
> ........................................................................ [ 
> 60%]
> ........................................................................ [ 
> 65%]
> ...................................................................s.... [ 
> 70%]
> ........................................................................ [ 
> 76%]
> ........................................................................ [ 
> 81%]
> ...........F....s........................................................ [ 
> 86%]
> ........................................................................ [ 
> 91%]
> .......................................s................................ [ 
> 96%]
> ..................................................                       
> [100%]
> =================================== FAILURES 
> ===================================
> _________________ test_execute_executes_a_batch_of_operations 
> __________________
> [gw3] linux -- Python 3.12.4 /usr/bin/python3.12
> 
> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f2b55bf38c0>
> config = <tests.conftest.Config object at 0x7f2b55bf3aa0>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at 
> 0x7f2b55a7b3b0>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7f2b55a78ad0>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-13/popen-gw3/test_execute_executes_a_batch_0')
> mock_file_downloads = None
> env = 
> MockEnv("/tmp/pytest-of-user42/pytest-13/popen-gw3/test_execute_executes_a_batch_0/.venv")
> copy_wheel = <function copy_wheel.<locals>._copy_wheel at 0x7f2b5640b600>
> fixture_dir = <function fixture_dir.<locals>._fixture_dir at 0x7f2b560a1580>
> 
>     def test_execute_executes_a_batch_of_operations(
>         mocker: MockerFixture,
>         config: Config,
>         pool: RepositoryPool,
>         io: BufferedIO,
>         tmp_path: Path,
>         mock_file_downloads: None,
>         env: MockEnv,
>         copy_wheel: Callable[[], Path],
>         fixture_dir: FixtureDirGetter,
>     ) -> None:
>         wheel_install = mocker.patch.object(WheelInstaller, "install")
>     
>         config.merge({"cache-dir": str(tmp_path)})
>         artifact_cache = 
> ArtifactCache(cache_dir=config.artifacts_cache_directory)
>     
>         prepare_spy = mocker.spy(Chef, "_prepare")
>         chef = Chef(artifact_cache, env, Factory.create_pool(config))
>         chef.set_directory_wheel([copy_wheel(), copy_wheel()])
>         chef.set_sdist_wheel(copy_wheel())
>     
>         io.set_verbosity(Verbosity.VERY_VERBOSE)
>     
>         executor = Executor(env, pool, config, io)
>         executor._chef = chef
>     
>         file_package = Package(
>             "demo",
>             "0.1.0",
>             source_type="file",
>             source_url=(fixture_dir("distributions") / 
> "demo-0.1.0-py2.py3-none-any.whl")
>             .resolve()
>             .as_posix(),
>         )
>     
>         directory_package = Package(
>             "simple-project",
>             "1.2.3",
>             source_type="directory",
>             source_url=fixture_dir("simple_project").resolve().as_posix(),
>         )
>     
>         git_package = Package(
>             "demo",
>             "0.1.0",
>             source_type="git",
>             source_reference="master",
>             source_url="https://github.com/demo/demo.git";,
>             develop=True,
>         )
>     
>         return_code = executor.execute(
>             [
>                 Install(Package("pytest", "3.5.1")),
>                 Uninstall(Package("attrs", "17.4.0")),
>                 Update(Package("requests", "2.18.3"), Package("requests", 
> "2.18.4")),
>                 Update(Package("pytest", "3.5.1"), Package("pytest", 
> "3.5.0")),
>                 Uninstall(Package("clikit", "0.2.3")).skip("Not currently 
> installed"),
>                 Install(file_package),
>                 Install(directory_package),
>                 Install(git_package),
>             ]
>         )
>     
>         expected = f"""
>     Package operations: 4 installs, 2 updates, 1 removal
>     
>       - Installing pytest (3.5.1)
>       - Removing attrs (17.4.0)
>       - Updating requests (2.18.3 -> 2.18.4)
>       - Downgrading pytest (3.5.1 -> 3.5.0)
>       - Installing demo (0.1.0 {file_package.source_url})
>       - Installing simple-project (1.2.3 {directory_package.source_url})
>       - Installing demo (0.1.0 master)
>     """
>     
>         expected_lines = set(expected.splitlines())
>         output_lines = set(io.fetch_output().splitlines())
> >       assert output_lines == expected_lines
> E       assert {'', '       ...able. "', ...} == {'', '  - Dow...roject)', 
> ...}
> E         
> E         Extra items in the left set:
> E         '       wheel: Wheel = get_embed_wheel('
> E         '       self._embedded_pip_path = self.get_embedded_wheel("pip") / 
> "pip"'
> E         '  Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl'
> E         '       self._env.run_pip(*args, **kwargs)'
> E         '       72│     if wheel is None:'...
> E         
> E         ...Full output truncated (34 lines hidden), use '-vv' to show
> 
> tests/installation/test_executor.py:236: AssertionError
> ______ test_execute_prints_warning_for_yanked_package[operations1-False] 
> _______
> [gw3] linux -- Python 3.12.4 /usr/bin/python3.12
> 
> config = <tests.conftest.Config object at 0x7f2b5613fbc0>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at 
> 0x7f2b56105880>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7f2b56107aa0>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-13/popen-gw3/test_execute_prints_warning_fo1')
> mock_file_downloads = None
> env = 
> MockEnv("/tmp/pytest-of-user42/pytest-13/popen-gw3/test_execute_prints_warning_fo1/.venv")
> operations = [<Uninstall black (21.11b0)>, <Uninstall pytest (3.5.1)>]
> has_warning = False
> 
>     @pytest.mark.parametrize(
>         "operations, has_warning",
>         [
>             (
>                 [Install(Package("black", "21.11b0")), 
> Install(Package("pytest", "3.5.1"))],
>                 True,
>             ),
>             (
>                 [
>                     Uninstall(Package("black", "21.11b0")),
>                     Uninstall(Package("pytest", "3.5.1")),
>                 ],
>                 False,
>             ),
>             (
>                 [
>                     Update(Package("black", "19.10b0"), Package("black", 
> "21.11b0")),
>                     Update(Package("pytest", "3.5.0"), Package("pytest", 
> "3.5.1")),
>                 ],
>                 True,
>             ),
>         ],
>     )
>     def test_execute_prints_warning_for_yanked_package(
>         config: Config,
>         pool: RepositoryPool,
>         io: BufferedIO,
>         tmp_path: Path,
>         mock_file_downloads: None,
>         env: MockEnv,
>         operations: list[Operation],
>         has_warning: bool,
>     ) -> None:
>         config.merge({"cache-dir": str(tmp_path)})
>     
>         executor = Executor(env, pool, config, io)
>     
>         return_code = executor.execute(operations)
>     
>         expected = (
>             "Warning: The file chosen for install of black 21.11b0 "
>             "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being 
> yanked: "
>             "Broken regex dependency. Use 21.11b1 instead."
>         )
>         output = io.fetch_output()
>         error = io.fetch_error()
> >       assert return_code == 0, f"\noutput: {output}\nerror: {error}\n"
> E       AssertionError: 
> E         output: 
> E         Package operations: 0 installs, 0 updates, 2 removals
> E         
> E           - Removing black (21.11b0)
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install black.
> E         
> E           - Removing pytest (3.5.1)
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install pytest.
> E         
> E         
> E         error: 
> E         
> E       assert 1 == 0
> 
> tests/installation/test_executor.py:295: AssertionError
> _______ test_execute_prints_warning_for_yanked_package[operations2-True] 
> _______
> [gw3] linux -- Python 3.12.4 /usr/bin/python3.12
> 
> config = <tests.conftest.Config object at 0x7f2b5613e570>
> pool = <poetry.repositories.repository_pool.RepositoryPool object at 
> 0x7f2b56046de0>
> io = <cleo.io.buffered_io.BufferedIO object at 0x7f2b56046810>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-13/popen-gw3/test_execute_prints_warning_fo2')
> mock_file_downloads = None
> env = 
> MockEnv("/tmp/pytest-of-user42/pytest-13/popen-gw3/test_execute_prints_warning_fo2/.venv")
> operations = [<Update black (19.10b0) to black (21.11b0)>, <Update pytest 
> (3.5.0) to pytest (3.5.1)>]
> has_warning = True
> 
>     @pytest.mark.parametrize(
>         "operations, has_warning",
>         [
>             (
>                 [Install(Package("black", "21.11b0")), 
> Install(Package("pytest", "3.5.1"))],
>                 True,
>             ),
>             (
>                 [
>                     Uninstall(Package("black", "21.11b0")),
>                     Uninstall(Package("pytest", "3.5.1")),
>                 ],
>                 False,
>             ),
>             (
>                 [
>                     Update(Package("black", "19.10b0"), Package("black", 
> "21.11b0")),
>                     Update(Package("pytest", "3.5.0"), Package("pytest", 
> "3.5.1")),
>                 ],
>                 True,
>             ),
>         ],
>     )
>     def test_execute_prints_warning_for_yanked_package(
>         config: Config,
>         pool: RepositoryPool,
>         io: BufferedIO,
>         tmp_path: Path,
>         mock_file_downloads: None,
>         env: MockEnv,
>         operations: list[Operation],
>         has_warning: bool,
>     ) -> None:
>         config.merge({"cache-dir": str(tmp_path)})
>     
>         executor = Executor(env, pool, config, io)
>     
>         return_code = executor.execute(operations)
>     
>         expected = (
>             "Warning: The file chosen for install of black 21.11b0 "
>             "(black-21.11b0-py3-none-any.whl) is yanked. Reason for being 
> yanked: "
>             "Broken regex dependency. Use 21.11b1 instead."
>         )
>         output = io.fetch_output()
>         error = io.fetch_error()
> >       assert return_code == 0, f"\noutput: {output}\nerror: {error}\n"
> E       AssertionError: 
> E         output: 
> E         Package operations: 0 installs, 2 updates, 0 removals
> E         
> E           - Updating black (19.10b0 -> 21.11b0)
> E           - Updating pytest (3.5.0 -> 3.5.1)
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install pytest.
> E         
> E         
> E           Exception
> E         
> E           Wheel for pip for Python 3.7 is unavailable. apt install 
> python3-pip-whl
> E         
> E           at 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73 in 
> get_embed_wheel
> E                69│ def get_embed_wheel(distribution, for_py_version):
> E                70│     # Debian specific: Point at the appropriate wheel 
> package
> E                71│     wheel = BUNDLE_SUPPORT.get(for_py_version, 
> {}).get(distribution)
> E                72│     if wheel is None:
> E             →  73│         raise Exception((
> E                74│                 "Wheel for {} for Python {} is 
> unavailable. "
> E                75│                 "apt install python{}-{}-whl"
> E                76│             ).format(
> E                77│                 distribution,
> E         
> E         Cannot install black.
> E         
> E         
> E         error: <warning>Warning: The file chosen for install of black 
> 21.11b0 (black-21.11b0-py3-none-any.whl) is yanked. Reason for being yanked: 
> Broken regex dependency. Use 21.11b1 instead.
> E         
> E         
> E       assert 1 == 0
> 
> tests/installation/test_executor.py:295: AssertionError
> _____________ test_build_environment_called_build_script_specified 
> _____________
> [gw3] linux -- Python 3.12.4 /usr/bin/python3.12
> 
> mocker = <pytest_mock.plugin.MockerFixture object at 0x7f2b55b35910>
> extended_without_setup_poetry = <poetry.poetry.Poetry object at 
> 0x7f2b562bfbc0>
> tmp_path = 
> PosixPath('/tmp/pytest-of-user42/pytest-13/popen-gw3/test_build_environment_called_0')
> 
>     def test_build_environment_called_build_script_specified(
>         mocker: MockerFixture, extended_without_setup_poetry: Poetry, 
> tmp_path: Path
>     ) -> None:
>         project_env = MockEnv(path=tmp_path / "project")
>         ephemeral_env = MockEnv(path=tmp_path / "ephemeral")
>     
>         mocker.patch(
>             "poetry.utils.env.ephemeral_environment"
>         ).return_value.__enter__.return_value = ephemeral_env
>     
> >       with build_environment(extended_without_setup_poetry, project_env) as 
> > env:
> 
> tests/utils/env/test_env.py:483: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.12/contextlib.py:137: in __enter__
>     return next(self.gen)
> poetry/utils/env/__init__.py:81: in build_environment
>     output = venv.run_pip(
> poetry/utils/env/base_env.py:308: in run_pip
>     pip = self.get_pip_command()
> poetry/utils/env/base_env.py:275: in get_pip_command
>     return [str(self.python), str(self.pip_embedded)]
> poetry/utils/env/base_env.py:148: in pip_embedded
>     self._embedded_pip_path = self.get_embedded_wheel("pip") / "pip"
> poetry/utils/env/base_env.py:139: in get_embedded_wheel
>     wheel: Wheel = get_embed_wheel(
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> distribution = 'pip', for_py_version = '3.7'
> 
>     def get_embed_wheel(distribution, for_py_version):
>         # Debian specific: Point at the appropriate wheel package
>         wheel = BUNDLE_SUPPORT.get(for_py_version, {}).get(distribution)
>         if wheel is None:
> >           raise Exception((
>                     "Wheel for {} for Python {} is unavailable. "
>                     "apt install python{}-{}-whl"
>                 ).format(
>                     distribution,
>                     for_py_version,
>                     '2' if for_py_version == '2.7' else '3',
>                     distribution,
>                 ))
> E           Exception: Wheel for pip for Python 3.7 is unavailable. apt 
> install python3-pip-whl
> 
> /usr/lib/python3/dist-packages/virtualenv/seed/wheels/embed/__init__.py:73: 
> Exception
> =============================== warnings summary 
> ===============================
> tests/console/commands/test_publish.py: 2 warnings
> tests/console/commands/test_search.py: 1 warning
> tests/installation/test_chooser.py: 26 warnings
> tests/installation/test_executor.py: 8 warnings
> tests/publishing/test_uploader.py: 18 warnings
> tests/repositories/test_legacy_repository.py: 13 warnings
> tests/utils/test_authenticator.py: 73 warnings
> tests/inspection/test_lazy_wheel.py: 101 warnings
>   /usr/lib/python3/dist-packages/httpretty/core.py:1077: DeprecationWarning: 
> datetime.datetime.utcnow() is deprecated and scheduled for removal in a 
> future version. Use timezone-aware objects to represent datetimes in UTC: 
> datetime.datetime.now(datetime.UTC).
>     now = datetime.utcnow()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> tests/installation/test_executor.py::test_execute_executes_a_batch_of_operations
> FAILED 
> tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations1-False]
> FAILED 
> tests/installation/test_executor.py::test_execute_prints_warning_for_yanked_package[operations2-True]
> FAILED 
> tests/utils/env/test_env.py::test_build_environment_called_build_script_specified
> =========== 4 failed, 1410 passed, 6 skipped, 242 warnings in 33.53s 
> ===========
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_poetry/build; python3.12 -m pytest 
> --ignore=tests/console/commands/env/test_list.py 
> --ignore=tests/console/commands/env/test_remove.py 
> --ignore=tests/console/commands/env/test_use.py 
> --ignore=tests/utils/test_env.py --ignore=tests/config/test_config.py 
> --ignore=tests/utils/test_helpers.py -k 'not 
> test_self_update_should_install_all_necessary_elements and not 
> test_add_file_constraint_sdist and not 
> test_add_file_constraint_sdist_old_installer and not 
> test_builder_setup_generation_runs_with_pip_editable and not 
> test_publish_dry_run and not test_info_from_sdist and not 
> test_installer_can_install_dependencies_from_forced_source and not 
> test_search_for_file_sdist and not test_search_for_file_sdist_with_extras and 
> not test_solver_can_resolve_sdist_dependencies and not 
> test_solver_can_resolve_sdist_dependencies_with_extras and not 
> test_solver_chooses_from_correct_repository_if_forced and not 
> test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency
>  and not test_solver_does_not_choose_from_secondary_repository_by_default and 
> not test_solver_chooses_from_secondary_if_explicit and not 
> test_get_package_information_fallback_read_setup and not 
> test_get_package_information_skips_dependencies_with_invalid_constraints and 
> not test_get_package_retrieves_packages_with_no_hashes and not 
> test_fallback_can_read_setup_to_get_dependencies and not 
> test_exporter_can_export_requirements_txt_with_file_packages and not 
> test_exporter_can_export_requirements_txt_with_file_packages_and_markers and 
> not test_lock_no_update and not 
> test_locker_dumps_dependency_information_correctly and not 
> test_package_partial_yank and not 
> test_run_installs_with_same_version_url_files and not 
> test_env_info_displays_complete_info and not test_skip_existing_output and 
> not 
> test_installer_should_use_the_locked_version_of_git_dependencies_with_extras 
> and not 
> test_installer_should_use_the_locked_version_of_git_dependencies_without_reference
>  and not test_installer_uses_prereleases_if_they_are_compatible and not 
> test_requirement_git_subdirectory and not test_check_valid and not 
> test_check_invalid and not test_packages_property_returns_empty_list and not 
> test_parse_dependency_specification and not 
> test_info_setup_missing_mandatory_should_trigger_pep517 and not 
> test_uninstall_git_package_nspkg_pth_cleanup and not 
> test_executor_should_write_pep610_url_references_for_directories and not 
> test_executor_should_write_pep610_url_references_for_git and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not 
> test_executor_should_write_pep610_url_references_for_git_with_subdirectories 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_urls 
> and not test_executor_should_write_pep610_url_references_for_non_wheel_files 
> and not test_prepare_sdist and not test_shell and not 
> test_chooser_md5_remote_fallback_to_sha256_inline_calculation and not 
> test_solver_ignores_explicit_repo_for_transient_dependencies and not 
> test_installer_with_pypi_repository and not test_prepare_directory_editable 
> and not test_prepare_directory and not test_prepare_directory_with_extensions 
> and not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess and 
> not 
> test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding
>  and not test_isolated_env_install_success and not 
> test_isolated_env_install_error and not test_isolated_env_install_failure and 
> not test_application_with_plugins and not 
> test_build_system_requires_not_available and not 
> test_build_system_requires_install_failure and not 
> test_prepare_directory_script and not test_fallback_on_detect_active_python 
> and not test_get_venv_with_venv_folder_present and not test_not_fresh_lock 
> and not test_list and not test_info_setup_complex_calls_script and not 
> test_publish_dist_dir_option and not test_executor_known_hashes'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 
> 3.12" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/poetry_1.8.3+dfsg-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: poetry
Source-Version: 1.8.3+dfsg-3
Done: Emmanuel Arias <eam...@debian.org>

We believe that the bug you reported is fixed in the latest version of
poetry, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1074...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Arias <eam...@debian.org> (supplier of updated poetry package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 13 Jul 2024 11:27:40 -0300
Source: poetry
Architecture: source
Version: 1.8.3+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Emmanuel Arias <eam...@debian.org>
Closes: 1074725
Changes:
 poetry (1.8.3+dfsg-3) unstable; urgency=medium
 .
   * d/control: Remove python3.11-venv from Build Dependency.
     Also remove it from autopkgtest.
   * d/control: Bump Standards-Version to 4.7.0 (from 4.6.2; no further
     changes needed).
   * d/rules: ignore test_execute_executes_a_batch_of_operations,
     test_execute_prints_warning_for_yanked_package
     and test_build_environment_called_build_script_specified tests because
     they use pip, need more investigation (Closes: #1074725).
     - Remove from d/tests/pytest file.
Checksums-Sha1:
 d182d4f00904b6847e137e5d4fc38721d32b904b 3246 poetry_1.8.3+dfsg-3.dsc
 d55c4054f93e69b911ad15c2dd6e5d1ae51b975f 7528 poetry_1.8.3+dfsg-3.debian.tar.xz
 7810ddcdd246fe3fc917a890f6952ac5ab7c1497 10392 
poetry_1.8.3+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 d35148c346b339294776eb7802e7aa1b427471baf365c5e070e3ea012a761c56 3246 
poetry_1.8.3+dfsg-3.dsc
 364070149dbbc27c27fbed874604988f0943264949c3b65e35ad52299d035710 7528 
poetry_1.8.3+dfsg-3.debian.tar.xz
 09340883736ce9c7c53e0022628bc1c4244e0e75c91d69d3063c0721c1d3178a 10392 
poetry_1.8.3+dfsg-3_amd64.buildinfo
Files:
 d894bd6c9ccbc937df18bd1fd0922889 3246 python optional poetry_1.8.3+dfsg-3.dsc
 716ba79433ab7a7d35a18a5b2d1a8182 7528 python optional 
poetry_1.8.3+dfsg-3.debian.tar.xz
 5c26d2f9f8bf3a0cbbef00df94a88307 10392 python optional 
poetry_1.8.3+dfsg-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmaSpoMSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxMtgP/3JBjCYpWqVC5XFE7mut1yuMsPaTxuCk
EGdRv1kDXxJDaZO8mFVS+f31HyuQ4J+ZrdXqoiAX7X4+0VzH15wzKR9kg+kcu2Sx
/u5tzDXftX5+h1736l2Dl6wI3PKAOyol7u7Oex8CBwkSDfPugT3RDseVF15gTUKd
4/7lOmXjEvVMBlNnWFpWKCn79u0gBswIRmoBIDlrSnH74LTyYXcyfFUvL/BOTT5Z
mVJnP8ujsrzqCrjgzmYyq6E7y1JNDiRDqftw8EX8k6oQyhO4nZtzSthew7uh7Hnt
Iygjp1gn/h20wDfSSNU9a+ktdRhtdabIMb+zkkh2b3WMMHoQUctIMIDzRpfCOYzh
MEc0ykjWwU4nX4/NK9YOxHUpna1QGlqdiqavdpt+zk9ZNSKTjbn2zIRl1BEXdrxl
6ZTBLP0ZEvhYdIZgRKv2Euj3c0+PMjjktsU5EXhe5PtLN8BP4ob5aGtgdDDEX+ha
M5OXypzlC7zglybs47P8KSB5Vq3RXo37dU7/81o8W7p6+aUNOANo5u9236WXEozt
ynjfFJRIvU/G2HrV4RpewkWqWcnk2JemH68Z6XfIKYST8Vz5mc3r7jJroaudV2Dg
OhlbnMa5sYHMDxPcFjbwN0xtSDlPiCB2o/SkpTP3Of46+ggjg3zL7YgMem65exLb
QhKCCd1K+8oN
=OUYp
-----END PGP SIGNATURE-----

Attachment: pgpd7Hcc68tnx.pgp
Description: PGP signature


--- End Message ---

Reply via email to