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.

Reply via email to