Source: poetry Version: 2.3.2+dfsg-2 Severity: serious User: [email protected] Usertags: regression X-Debbugs-CC: Colin Watson <[email protected]>
Dear maintainer(s),With a recent upload of poetry the autopkgtest of poetry fails in testing when that autopkgtest is run with the binary packages of poetry from unstable. It passes when run with only packages from testing. In tabular form:
pass fail
poetry from testing 2.3.2+dfsg-2
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration to testing [1],
which I'm going to overrule because it several RC bug fixes, but can you
please investigate the situation and fix it?
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=poetry https://ci.debian.net/data/autopkgtest/testing/i386/p/poetry/68856239/log.gz=================================== FAILURES =================================== 300s ____________________ test_find_downloadable_versions[None] _____________________
300s [gw1] linux -- Python 3.14.3 /usr/bin/python3.14 300s 300s constraint = None300s 300s @pytest.mark.parametrize("constraint", [None, "~3.9", ">=3.10"]) 300s def test_find_downloadable_versions(constraint: str | None) -> None:
300s versions = list(Python.find_downloadable_versions(constraint))300s if platform.system() == "FreeBSD" or not pbs_installer_supported_arch(
300s platform.machine()
300s ):
300s assert len(versions) == 0
300s else:
300s assert len(versions) > 0
300s if constraint:
300s parsed_constraint = parse_constraint(constraint)
300s assert all(
300s parsed_constraint.allows(
300s Version.parse(f"{v.major}.{v.minor}.{v.patch}")
300s )
300s for v in versions
300s )
300s else:
300s > assert len({v.free_threaded for v in versions}) == 2
300s E assert 1 == 2
300s E + where 1 = len({False})
300s 300s
/tmp/autopkgtest-lxc.9zsqousn/downtmp/autopkgtest_tmp/tests/utils/env/python/test_manager.py:107:
AssertionError
300s =========================== short test summary info
============================
300s SKIPPED [3] tests/console/commands/env/test_activate.py:54: Only
Windows shells
300s SKIPPED [1] tests/console/commands/self/test_sync.py:26: Only
relevant for `poetry self install`
300s SKIPPED [1] tests/console/commands/test_run.py:158: Poetry only
installs CMD script files for console scripts of editable dependencies
on Windows
300s SKIPPED [1] tests/installation/test_executor.py:506:
https://github.com/python-poetry/poetry/issues/7983
300s SKIPPED [1] tests/console/commands/test_sync.py:26: Only relevant
for `poetry install`
300s SKIPPED [1] tests/utils/env/test_env_manager.py:1269: requires darwin 300s SKIPPED [1] tests/utils/test_python_manager.py:104: Windows only300s FAILED tests/utils/env/python/test_manager.py::test_find_downloadable_versions[None] 300s ============ 1 failed, 2582 passed, 9 skipped in 213.67s (0:03:33) =============
300s autopkgtest [08:16:59]: test pytest
OpenPGP_signature.asc
Description: OpenPGP digital signature

