Source: responses Version: 0.9.0-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201027 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3 --buildsystem=pybuild > dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) > dh_update_autotools_config -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > dh_auto_configure: warning: Compatibility levels before 10 are deprecated > (level 9 in use) > I: pybuild base:217: python3.9 setup.py config > running config > I: pybuild base:217: python3.8 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > dh_auto_build: warning: Compatibility levels before 10 are deprecated (level > 9 in use) > I: pybuild base:217: /usr/bin/python3.9 setup.py build > running build > running build_py > copying responses.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build > copying test_responses.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build > running egg_info > writing responses.egg-info/PKG-INFO > writing dependency_links to responses.egg-info/dependency_links.txt > writing requirements to responses.egg-info/requires.txt > writing top-level names to responses.egg-info/top_level.txt > reading manifest file 'responses.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*~' found anywhere in > distribution > writing manifest file 'responses.egg-info/SOURCES.txt' > I: pybuild base:217: /usr/bin/python3 setup.py build > running build > running build_py > copying responses.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_responses/build > copying test_responses.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_responses/build > running egg_info > writing responses.egg-info/PKG-INFO > writing dependency_links to responses.egg-info/dependency_links.txt > writing requirements to responses.egg-info/requires.txt > writing top-level names to responses.egg-info/top_level.txt > reading manifest file 'responses.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*~' found anywhere in > distribution > writing manifest file 'responses.egg-info/SOURCES.txt' > dh_auto_test -O--buildsystem=pybuild > dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 > in use) > I: pybuild base:217: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build; python3.9 -m pytest > ============================= test session starts > ============================== > platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg > plugins: localserver-0.5.0 > collected 46 items > > test_responses.py ......................F....................... > [100%] > > =================================== FAILURES > =================================== > __________________________ test_arbitrary_status_code > __________________________ > test_responses.py:345: in test_arbitrary_status_code > run() > <string>:3: in wrapper > ??? > test_responses.py:343: in run > assert resp.reason is None > E assert "I'm a Teapot" is None > E + where "I'm a Teapot" = <Response [418]>.reason > =============================== warnings summary > =============================== > responses.py:11 > responses.py:11 > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build/responses.py:11: > DeprecationWarning: Using or importing the ABCs from 'collections' instead of > from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will > stop working > from collections import namedtuple, Sequence, Sized > > /usr/lib/python3/dist-packages/cookies.py:312 > /usr/lib/python3/dist-packages/cookies.py:312: DeprecationWarning: Flags > not at the start of the expression '(?ix) # Case-insens' (truncated) > ATTR_RE = re.compile(ATTR) > > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_response > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_response_with_instance > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace[http://example.com/two-http://example.com/two] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace[original1-replacement1] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace[http://example\\.com/two-http://example\\.com/two] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace_error[http://example.com/one-http://example\\.com/one] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace_error[http://example\\.com/one-http://example.com/one] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_remove > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_connection_error > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_empty_querystring > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring_error > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring_regex > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring_error_regex > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_accept_string_body > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_accept_json_body > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_no_content_type > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_arbitrary_status_code > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_throw_connection_error_explicit > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_callback > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_callback_no_content_type > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_regular_expression_url > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_custom_adapter > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature_for_method > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_response_cookies > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_handles_unicode_querystring > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_handles_unicode_url > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_headers > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_legacy_adding_headers > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_multiple_responses > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_multiple_urls > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_passthru > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_method_named_param > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_passthru_unicode > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build/responses.py:117: > DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use > `signature` and the `Signature` object directly > signature = inspect.formatargspec(args, a, kw, defaults) > > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_response > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_response_with_instance > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace[http://example.com/two-http://example.com/two] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace[original1-replacement1] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace[http://example\\.com/two-http://example\\.com/two] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace_error[http://example.com/one-http://example\\.com/one] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_replace_error[http://example\\.com/one-http://example.com/one] > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_remove > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_connection_error > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_empty_querystring > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring_error > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring_regex > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_match_querystring_error_regex > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_accept_string_body > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_accept_json_body > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_no_content_type > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_arbitrary_status_code > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_throw_connection_error_explicit > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_callback > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_callback_no_content_type > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_regular_expression_url > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_custom_adapter > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature_for_method > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_response_cookies > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_handles_unicode_querystring > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_handles_unicode_url > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_headers > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_legacy_adding_headers > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_multiple_responses > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_multiple_urls > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_passthru > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_method_named_param > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_passthru_unicode > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build/responses.py:121: > DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use > `signature` and the `Signature` object directly > callargs = inspect.formatargspec(args, a, kw, None) > > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build/test_responses.py:492: > DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use > inspect.signature() or inspect.getfullargspec() > assert getargspec(test_function) == getargspec(decorated_test_function) > > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature_for_method > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build/test_responses.py:503: > DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use > inspect.signature() or inspect.getfullargspec() > argspec = getargspec(test_case.test_function) > > .pybuild/cpython3_3.9_responses/build/test_responses.py::test_activate_doesnt_change_signature_for_method > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build/test_responses.py:505: > DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use > inspect.signature() or inspect.getfullargspec() > assert argspec == getargspec(decorated_test_function) > > -- Docs: https://docs.pytest.org/en/latest/warnings.html > =============== 1 failed, 45 passed, 77 warnings in 0.82 seconds > =============== > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_responses/build; python3.9 -m pytest > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 > 3.8" returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2020/10/27/responses_0.9.0-2_unstable.log 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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.