Source: python-klein Version: 21.8.0-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230925 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 --buildsystem pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:291: python3.11 setup.py config > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: > UserWarning: Unknown distribution option: 'extra_requires' > warnings.warn(msg) > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:291: /usr/bin/python3 setup.py build > /usr/lib/python3/dist-packages/setuptools/__init__.py:84: > _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are > deprecated. > !! > > > ******************************************************************************** > Requirements should be satisfied by a PEP 517 installer. > If you are using pip, you can try `pip install --use-pep517`. > > ******************************************************************************** > > !! > dist.fetch_build_eggs(dist.setup_requires) > WARNING: The wheel package is not available. > /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265: > UserWarning: Unknown distribution option: 'extra_requires' > warnings.warn(msg) > running build > running build_py > creating build > creating build/lib > creating build/lib/klein > copying src/klein/_isession.py -> build/lib/klein > copying src/klein/app.py -> build/lib/klein > copying src/klein/_request.py -> build/lib/klein > copying src/klein/_iform.py -> build/lib/klein > copying src/klein/_imessage.py -> build/lib/klein > copying src/klein/_session.py -> build/lib/klein > copying src/klein/_interfaces.py -> build/lib/klein > copying src/klein/_request_compat.py -> build/lib/klein > copying src/klein/_version.py -> build/lib/klein > copying src/klein/_resource.py -> build/lib/klein > copying src/klein/_headers_compat.py -> build/lib/klein > copying src/klein/_app.py -> build/lib/klein > copying src/klein/_message.py -> build/lib/klein > copying src/klein/_dihttp.py -> build/lib/klein > copying src/klein/_form.py -> build/lib/klein > copying src/klein/__init__.py -> build/lib/klein > copying src/klein/resource.py -> build/lib/klein > copying src/klein/interfaces.py -> build/lib/klein > copying src/klein/_plating.py -> build/lib/klein > copying src/klein/_headers.py -> build/lib/klein > copying src/klein/_requirer.py -> build/lib/klein > copying src/klein/_decorators.py -> build/lib/klein > copying src/klein/_tubes.py -> build/lib/klein > copying src/klein/_response.py -> build/lib/klein > creating build/lib/klein/storage > copying src/klein/storage/__init__.py -> build/lib/klein/storage > copying src/klein/storage/_memory.py -> build/lib/klein/storage > copying src/klein/storage/memory.py -> build/lib/klein/storage > creating build/lib/klein/test > copying src/klein/test/test_session.py -> build/lib/klein/test > copying src/klein/test/test_exports.py -> build/lib/klein/test > copying src/klein/test/_trial.py -> build/lib/klein/test > copying src/klein/test/test_requirer.py -> build/lib/klein/test > copying src/klein/test/test_headers_compat.py -> build/lib/klein/test > copying src/klein/test/__init__.py -> build/lib/klein/test > copying src/klein/test/test_form.py -> build/lib/klein/test > copying src/klein/test/test_headers.py -> build/lib/klein/test > copying src/klein/test/test_request.py -> build/lib/klein/test > copying src/klein/test/test_memory.py -> build/lib/klein/test > copying src/klein/test/test_message.py -> build/lib/klein/test > copying src/klein/test/util.py -> build/lib/klein/test > copying src/klein/test/test_plating.py -> build/lib/klein/test > copying src/klein/test/test_request_compat.py -> build/lib/klein/test > copying src/klein/test/test_resource.py -> build/lib/klein/test > copying src/klein/test/test_trial.py -> build/lib/klein/test > copying src/klein/test/test_app.py -> build/lib/klein/test > copying src/klein/test/test_response.py -> build/lib/klein/test > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_klein/build; > python3.11 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>> > plugins: hypothesis-6.87.0 > collected 242 items > > test/test_app.py .............................. [ > 12%] > test/test_exports.py ..... [ > 14%] > test/test_form.py ..................... [ > 23%] > test/test_headers.py ...................FF.........FF..... [ > 38%] > test/test_headers_compat.py .......FF..... [ > 44%] > test/test_memory.py ... [ > 45%] > test/test_plating.py ....................... [ > 54%] > test/test_request.py ........... [ > 59%] > test/test_request_compat.py ....... [ > 62%] > test/test_requirer.py ..... [ > 64%] > test/test_resource.py .................................................. [ > 85%] > ............... [ > 91%] > test/test_response.py FFFFFFFF... [ > 95%] > test/test_session.py ........ [ > 99%] > test/test_trial.py .. > [100%] > > =================================== FAILURES > =================================== > ___________________ FrozenHTTPHeadersTests.test_getTextName > ____________________ > > self = <test.test_headers.FrozenHTTPHeadersTests testMethod=test_getTextName> > > @given(iterables(tuples(ascii_text(min_size=1), latin1_text()))) > > def test_getTextName(self, textPairs: Iterable[Tuple[str, str]]) -> None: > E hypothesis.errors.FailedHealthCheck: The method > GetValuesTestsMixIn.test_getTextName was called from multiple different > executors. This may lead to flaky tests and nonreproducible errors when > replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_headers.py:308: FailedHealthCheck > _____________ FrozenHTTPHeadersTests.test_getTextNameBinaryValues > ______________ > > self = <test.test_headers.FrozenHTTPHeadersTests > testMethod=test_getTextNameBinaryValues> > > @given(iterables(tuples(ascii_text(min_size=1), binary()))) > > def test_getTextNameBinaryValues( > self, pairs: Iterable[Tuple[str, bytes]] > ) -> None: > E hypothesis.errors.FailedHealthCheck: The method > GetValuesTestsMixIn.test_getTextNameBinaryValues was called from multiple > different executors. This may lead to flaky tests and nonreproducible errors > when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_headers.py:337: FailedHealthCheck > ___________________ MutableHTTPHeadersTests.test_getTextName > ___________________ > > self = <test.test_headers.MutableHTTPHeadersTests testMethod=test_getTextName> > > @given(iterables(tuples(ascii_text(min_size=1), latin1_text()))) > > def test_getTextName(self, textPairs: Iterable[Tuple[str, str]]) -> None: > E hypothesis.errors.FailedHealthCheck: The method > GetValuesTestsMixIn.test_getTextName was called from multiple different > executors. This may lead to flaky tests and nonreproducible errors when > replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_headers.py:308: FailedHealthCheck > _____________ MutableHTTPHeadersTests.test_getTextNameBinaryValues > _____________ > > self = <test.test_headers.MutableHTTPHeadersTests > testMethod=test_getTextNameBinaryValues> > > @given(iterables(tuples(ascii_text(min_size=1), binary()))) > > def test_getTextNameBinaryValues( > self, pairs: Iterable[Tuple[str, bytes]] > ) -> None: > E hypothesis.errors.FailedHealthCheck: The method > GetValuesTestsMixIn.test_getTextNameBinaryValues was called from multiple > different executors. This may lead to flaky tests and nonreproducible errors > when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_headers.py:337: FailedHealthCheck > _______________ HTTPHeadersWrappingHeadersTests.test_getTextName > _______________ > > self = <test.test_headers_compat.HTTPHeadersWrappingHeadersTests > testMethod=test_getTextName> > > @given(iterables(tuples(ascii_text(min_size=1), latin1_text()))) > > def test_getTextName(self, textPairs: Iterable[Tuple[str, str]]) -> None: > E hypothesis.errors.FailedHealthCheck: The method > GetValuesTestsMixIn.test_getTextName was called from multiple different > executors. This may lead to flaky tests and nonreproducible errors when > replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_headers.py:308: FailedHealthCheck > _________ HTTPHeadersWrappingHeadersTests.test_getTextNameBinaryValues > _________ > > self = <test.test_headers_compat.HTTPHeadersWrappingHeadersTests > testMethod=test_getTextNameBinaryValues> > > @given(iterables(tuples(ascii_text(min_size=1), binary()))) > > def test_getTextNameBinaryValues( > self, pairs: Iterable[Tuple[str, bytes]] > ) -> None: > E hypothesis.errors.FailedHealthCheck: The method > GetValuesTestsMixIn.test_getTextNameBinaryValues was called from multiple > different executors. This may lead to flaky tests and nonreproducible errors > when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_headers.py:337: FailedHealthCheck > ______________ FrozenHTTPResponseTests.test_bodyAsBytesFromBytes > _______________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsBytesFromBytes> > > @given(binary()) > > def test_bodyAsBytesFromBytes(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsBytesFromBytes was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:103: FailedHealthCheck > ___________ FrozenHTTPResponseTests.test_bodyAsBytesFromBytesCached > ____________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsBytesFromBytesCached> > > @given(binary()) > > def test_bodyAsBytesFromBytesCached(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsBytesFromBytesCached was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:114: FailedHealthCheck > ______________ FrozenHTTPResponseTests.test_bodyAsBytesFromFount > _______________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsBytesFromFount> > > @given(binary()) > > def test_bodyAsBytesFromFount(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsBytesFromFount was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:129: FailedHealthCheck > ___________ FrozenHTTPResponseTests.test_bodyAsBytesFromFountCached > ____________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsBytesFromFountCached> > > @given(binary()) > > def test_bodyAsBytesFromFountCached(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsBytesFromFountCached was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:140: FailedHealthCheck > ______________ FrozenHTTPResponseTests.test_bodyAsFountFromBytes > _______________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsFountFromBytes> > > @given(binary()) > > def test_bodyAsFountFromBytes(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsFountFromBytes was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:53: FailedHealthCheck > ____________ FrozenHTTPResponseTests.test_bodyAsFountFromBytesTwice > ____________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsFountFromBytesTwice> > > @given(binary()) > > def test_bodyAsFountFromBytesTwice(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsFountFromBytesTwice was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:67: FailedHealthCheck > ______________ FrozenHTTPResponseTests.test_bodyAsFountFromFount > _______________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsFountFromFount> > > @given(binary()) > > def test_bodyAsFountFromFount(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsFountFromFount was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:79: FailedHealthCheck > ____________ FrozenHTTPResponseTests.test_bodyAsFountFromFountTwice > ____________ > > self = <test.test_response.FrozenHTTPResponseTests > testMethod=test_bodyAsFountFromFountTwice> > > @given(binary()) > > def test_bodyAsFountFromFountTwice(self, data: bytes) -> None: > E hypothesis.errors.FailedHealthCheck: The method > FrozenHTTPMessageTestsMixIn.test_bodyAsFountFromFountTwice was called from > multiple different executors. This may lead to flaky tests and > nonreproducible errors when replaying from database. > E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for > more information about this. If you want to disable just this health check, > add HealthCheck.differing_executors to the suppress_health_check settings for > this test. > > test/test_message.py:91: FailedHealthCheck > =============================== warnings summary > =============================== > ../../../../../../usr/lib/python3/dist-packages/twisted/web/http.py:103 > /usr/lib/python3/dist-packages/twisted/web/http.py:103: DeprecationWarning: > 'cgi' is deprecated and slated for removal in Python 3.13 > import cgi > > ../../../../../../usr/lib/python3/dist-packages/twisted/web/test/test_web.py:21 > /usr/lib/python3/dist-packages/twisted/web/test/test_web.py:21: > DeprecationWarning: twisted.test.proto_helpers.EventLoggingObserver was > deprecated in Twisted 19.7.0: Please use > twisted.internet.testing.EventLoggingObserver instead. > from twisted.test.proto_helpers import EventLoggingObserver > > test/test_form.py:37 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_klein/build/test/test_form.py:37: > PytestCollectionWarning: cannot collect test class 'TestObject' because it > has a __init__ constructor (from: > .pybuild/cpython3_3.11_klein/build/test/test_form.py) > @attr.s(auto_attribs=True, hash=False) > > ../../../src/klein/_tubes.py:47 > /<<PKGBUILDDIR>>/src/klein/_tubes.py:47: DeprecationWarning: attrs's > zope-interface support is deprecated and will be removed in, or after, April > 2024. > validator=optional(provides(IDrain)), default=None, init=False > > ../../../src/klein/_request.py:32 > /<<PKGBUILDDIR>>/src/klein/_request.py:32: DeprecationWarning: attrs's > zope-interface support is deprecated and will be removed in, or after, April > 2024. > headers: IHTTPHeaders = attrib(validator=provides(IHTTPHeaders)) > > ../../../src/klein/_request_compat.py:42 > /<<PKGBUILDDIR>>/src/klein/_request_compat.py:42: DeprecationWarning: > attrs's zope-interface support is deprecated and will be removed in, or > after, April 2024. > _request: IRequest = attrib(validator=provides(IRequest)) > > ../../../src/klein/_response.py:31 > /<<PKGBUILDDIR>>/src/klein/_response.py:31: DeprecationWarning: attrs's > zope-interface support is deprecated and will be removed in, or after, April > 2024. > headers: IHTTPHeaders = attrib(validator=provides(IHTTPHeaders)) > > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html > =========================== short test summary info > ============================ > FAILED test/test_headers.py::FrozenHTTPHeadersTests::test_getTextName - > hypot... > FAILED > test/test_headers.py::FrozenHTTPHeadersTests::test_getTextNameBinaryValues > FAILED test/test_headers.py::MutableHTTPHeadersTests::test_getTextName - > hypo... > FAILED > test/test_headers.py::MutableHTTPHeadersTests::test_getTextNameBinaryValues > FAILED > test/test_headers_compat.py::HTTPHeadersWrappingHeadersTests::test_getTextName > FAILED > test/test_headers_compat.py::HTTPHeadersWrappingHeadersTests::test_getTextNameBinaryValues > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsBytesFromBytes > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsBytesFromBytesCached > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsBytesFromFount > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsBytesFromFountCached > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsFountFromBytes > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsFountFromBytesTwice > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsFountFromFount > FAILED > test/test_response.py::FrozenHTTPResponseTests::test_bodyAsFountFromFountTwice > ================= 14 failed, 228 passed, 7 warnings in 51.48s > ================== > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_klein/build; python3.11 -m pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/09/25/python-klein_21.8.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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.