Package: src:poetry Version: 2.2.1+dfsg-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:poetry, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' find . -iname '*.pyc' -delete for i in $(find . -type d -iname __pycache__) ; do rm -rf $i ; done make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild 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:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_poetry * Building wheel... Successfully built poetry-2.2.1-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with "installer" module I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" module I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_poetry * Building wheel... Successfully built poetry-2.2.1-py3-none-any.whl I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3 [too-long-redacted] t_shutil_which_python_provider' ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_poetry/build configfile: pyproject.toml testpaths: tests plugins: mock-3.15.1, xdist-3.8.0 created: 2/2 workers 2 workers [2418 items] ........................................................sss............. [ 2%] ........................................................................ [ 5%] ........................................................................ [ 8%] ..............................s......................................... [ 11%] ...................................................................s.... [ 14%] ........................................................................ [ 17%] ........................................................................ [ 20%] .............................................................s.......... [ 23%] ........................................................................ [ 26%] ........................................................................ [ 29%] ........................................................................ [ 32%] ........................................................................ [ 35%] ........................................................................ [ 38%] ........................................................................ [ 41%] ........................................................................ [ 44%] ........................s............................................... [ 47%] ........................................................................ [ 50%] ........................................................................ [ 53%] ........................................................................ [ 56%] ........................................................................ [ 59%] ........................................................................ [ 62%] ........................................................................ [ 65%] ........................................................................ [ 68%] ........................................................................ [ 71%] ........................................................................ [ 74%] ........................................................................ [ 77%] ........................................................................ [ 80%] ........................................................................ [ 83%] ........................................................................ [ 86%] ........................................................................ [ 89%] ..........................F............................................. [ 92%] .....s.................................................................. [ 95%] ........................................................................ [ 98%] .......s.................................. [100%] =================================== FAILURES =================================== ___________________________ test_get_by_name_python ____________________________ [gw0] linux -- Python 3.14.2 /usr/bin/python3.14 without_mocked_findpython = None def test_get_by_name_python(without_mocked_findpython: None) -> None: python = Python.get_by_name("python3") assert python is not None assert python.version.major == 3 > assert python.version.minor == sys.version_info.minor E AssertionError: assert 13 == 14 E + where 13 = Version(epoch=0, release=Release(major=3, minor=13, patch=11, extra=(), precision=3, text='3.13.11', _compare_key=(3, ...3, 11)), ReleaseTag(phase='z', number=0), ReleaseTag(phase='', number=0), ReleaseTag(phase='z', number=0), ((0, ''),))).minor E + where Version(epoch=0, release=Release(major=3, minor=13, patch=11, extra=(), precision=3, text='3.13.11', _compare_key=(3, ...3, 11)), ReleaseTag(phase='z', number=0), ReleaseTag(phase='', number=0), ReleaseTag(phase='z', number=0), ((0, ''),))) = <poetry.utils.env.python.manager.Python object at 0x7f518f154b40>.version E + and 14 = sys.version_info(major=3, minor=14, micro=2, releaselevel='final', serial=0).minor E + where sys.version_info(major=3, minor=14, micro=2, releaselevel='final', serial=0) = sys.version_info /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_poetry/build/tests/utils/env/python/test_manager.py:130: AssertionError =============================== warnings summary =============================== tests/console/commands/test_publish.py: 2 warnings tests/console/commands/test_search.py: 11 warnings tests/console/commands/test_add.py: 3 warnings tests/console/commands/test_show.py: 20 warnings tests/inspection/test_info.py: 24 warnings tests/inspection/test_lazy_wheel.py: 101 warnings tests/installation/test_chooser.py: 58 warnings tests/installation/test_executor.py: 6 warnings tests/installation/test_installer.py: 86 warnings tests/packages/test_direct_origin.py: 1 warning tests/puzzle/test_solver.py: 21 warnings tests/publishing/test_uploader.py: 18 warnings tests/repositories/test_legacy_repository.py: 84 warnings tests/puzzle/test_provider.py: 24 warnings tests/repositories/test_pypi_repository.py: 57 warnings tests/repositories/test_repository_pool.py: 2 warnings tests/utils/test_authenticator.py: 73 warnings tests/utils/test_isolated_build.py: 12 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 ============================ SKIPPED [3] tests/console/commands/env/test_activate.py:53: Only Windows shells SKIPPED [1] tests/console/commands/self/test_sync.py:26: Only relevant for `poetry self install` SKIPPED [1] tests/console/commands/test_run.py:159: Poetry only installs CMD script files for console scripts of editable dependencies on Windows SKIPPED [1] tests/console/commands/test_sync.py:26: Only relevant for `poetry install` SKIPPED [1] tests/installation/test_executor.py:414: https://github.com/python-poetry/poetry/issues/7983 SKIPPED [1] tests/utils/env/test_env_manager.py:1265: requires darwin SKIPPED [1] tests/utils/test_python_manager.py:104: Windows only FAILED tests/utils/env/python/test_manager.py::test_get_by_name_python - Asse... ====== 1 failed, 2408 passed, 9 skipped, 603 warnings in 94.57s (0:01:34) ====== E: pybuild pybuild:389: test: plugin pyproject failed with: [too-long-redacted] t_shutil_which_python_provider' I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3 [too-long-redacted] t_shutil_which_python_provider' ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_poetry/build configfile: pyproject.toml testpaths: tests plugins: mock-3.15.1, xdist-3.8.0 created: 2/2 workers 2 workers [2418 items] ........................................................sss............. [ 2%] ........................................................................ [ 5%] ........................................................................ [ 8%] .............................s.......................................... [ 11%] ...................................................................s.... [ 14%] ........................................................................ [ 17%] ........................................................................ [ 20%] ............................................................s........... [ 23%] ........................................................................ [ 26%] ........................................................................ [ 29%] ........................................................................ [ 32%] ........................................................................ [ 35%] ........................................................................ [ 38%] ........................................................................ [ 41%] ........................................................................ [ 44%] ..................................................................s..... [ 47%] ........................................................................ [ 50%] ........................................................................ [ 53%] ........................................................................ [ 56%] ........................................................................ [ 59%] ........................................................................ [ 62%] ........................................................................ [ 65%] ........................................................................ [ 68%] ........................................................................ [ 71%] ........................................................................ [ 74%] ........................................................................ [ 77%] ........................................................................ [ 80%] ........................................................................ [ 83%] ........................................................................ [ 86%] ........................................................................ [ 89%] ........................................................................ [ 92%] .......s................................................................ [ 95%] ........................................................................ [ 98%] .......s.................................. [100%] =============================== warnings summary =============================== tests/console/commands/test_publish.py: 2 warnings tests/console/commands/test_search.py: 11 warnings tests/console/commands/test_add.py: 3 warnings tests/console/commands/test_show.py: 20 warnings tests/inspection/test_info.py: 24 warnings tests/inspection/test_lazy_wheel.py: 101 warnings tests/installation/test_chooser.py: 58 warnings tests/installation/test_executor.py: 6 warnings tests/installation/test_installer.py: 86 warnings tests/packages/test_direct_origin.py: 1 warning tests/publishing/test_uploader.py: 18 warnings tests/puzzle/test_solver.py: 21 warnings tests/puzzle/test_provider.py: 24 warnings tests/repositories/test_legacy_repository.py: 84 warnings tests/repositories/test_pypi_repository.py: 57 warnings tests/repositories/test_repository_pool.py: 2 warnings tests/utils/test_authenticator.py: 73 warnings tests/utils/test_isolated_build.py: 12 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 ============================ SKIPPED [3] tests/console/commands/env/test_activate.py:53: Only Windows shells SKIPPED [1] tests/console/commands/self/test_sync.py:26: Only relevant for `poetry self install` SKIPPED [1] tests/console/commands/test_run.py:159: Poetry only installs CMD script files for console scripts of editable dependencies on Windows SKIPPED [1] tests/console/commands/test_sync.py:26: Only relevant for `poetry install` SKIPPED [1] tests/installation/test_executor.py:414: https://github.com/python-poetry/poetry/issues/7983 SKIPPED [1] tests/utils/env/test_env_manager.py:1265: requires darwin SKIPPED [1] tests/utils/test_python_manager.py:104: Windows only =========== 2409 passed, 9 skipped, 603 warnings in 92.23s (0:01:32) =========== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:103: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

