Package: src:poetry-core
Version: 1.9.0-1
Severity: serious
Tags: sid trixie
poetry-core's autopkg tests fail with setuptools 74:
[...]
43s =================================== FAILURES
===================================
43s _____________ test_invalid_requirement[name @ file:.-invalid URL]
______________
43s
43s string = 'name @ file:.', exception = 'invalid URL'
43s
43s @pytest.mark.parametrize(
43s ["string", "exception"],
43s [
43s ("foo!", "Unexpected character at column 4\n\nfoo!\n
^\n"),
43s ("foo (>=bar)", 'invalid version constraint ">=bar"'),
43s ("name @ file:.", "invalid URL"),
43s ("name @ file:/.", "invalid URL"),
43s ],
43s )
43s def test_invalid_requirement(string: str, exception: str) -> None:
43s > with pytest.raises(
43s InvalidRequirement,
43s match=re.escape(f"The requirement is invalid:
{exception}"),
43s ):
43s E Failed: DID NOT RAISE <class
'poetry.core.version.requirements.InvalidRequirement'>
43s
43s tests/version/test_requirements.py:130: Failed
43s =========================== short test summary info
============================
43s FAILED
tests/version/test_requirements.py::test_invalid_requirement[name @
file:.-invalid URL]
43s =========== 1 failed, 2032 passed, 8 skipped, 9 deselected in
12.10s ===========
43s autopkgtest [23:00:20]: test pytest: -----------------------]
43s autopkgtest [23:00:20]: test pytest: - - - - - - - - - - results
- - - - - - - - - -
43s pytest FAIL non-zero exit status 1
43s autopkgtest [23:00:20]: @@@@@@@@@@@@@@@@@@@@ summary
43s pytest FAIL non-zero exit status 1