Source: httpcore Version: 0.17.3-1 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 build > dh build --with python3 --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 > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:291: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_trace.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_exceptions.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_synchronization.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_utils.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_models.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_api.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > copying httpcore/_ssl.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/socks_proxy.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/http_proxy.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/interfaces.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/connection_pool.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/http11.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/http2.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > copying httpcore/_async/connection.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_async > creating > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/anyio.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/sync.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/trio.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/auto.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > copying httpcore/_backends/mock.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_backends > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/socks_proxy.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/http_proxy.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/interfaces.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/connection_pool.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/http11.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/http2.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > copying httpcore/_sync/connection.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore/_sync > running egg_info > creating httpcore.egg-info > writing httpcore.egg-info/PKG-INFO > writing dependency_links to httpcore.egg-info/dependency_links.txt > writing requirements to httpcore.egg-info/requires.txt > writing top-level names to httpcore.egg-info/top_level.txt > writing manifest file 'httpcore.egg-info/SOURCES.txt' > reading manifest file 'httpcore.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > adding license file 'LICENSE.md' > writing manifest file 'httpcore.egg-info/SOURCES.txt' > copying httpcore/py.typed -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build/httpcore > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:291: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build; python3.11 -m pytest > --verbose -o asyncio_mode=strict -k ' not test_closing_http_request and not > test_connection_pool_get_connection_info and not test_explicit_backend_name > and not test_http2_request and not test_http_proxy and not test_http_request > and not test_http_request_cannot_reuse_dropped_connection and not > test_http_request_local_address and not test_http_request_reuse_connection > and not test_https_request and not test_https_request_reuse_connection and > not test_max_keepalive_connections_handled_correctly and not > test_proxy_https_requests and not > test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool > and not test_threadsafe_basic and not > test_broken_socket_detection_many_open_files and not test_no_retries and not > test_retries_enabled and not test_retries_exceeded and not > test_connection_timeout_tcp and not test_connection_timeout_uds and not > test_response_async_read and not test_response_async_streaming and not > test_connection_pool_concurrency and not > test_connection_pool_concurrency_same_domain_closing and not > test_connection_pool_concurrency_same_domain_keepalive and not > test_ssl_request and not test_extra_info and not > test_socks5_request_incorrect_auth and not > test_socks5_request_failed_to_provide_auth and not > test_socks5_request_connect_failed and not test_authenticated_socks5_request > and not test_socks5_request ' > ============================= test session starts > ============================== > platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 -- > /usr/bin/python3.11 > cachedir: .pytest_cache > rootdir: /<<PKGBUILDDIR>> > configfile: setup.cfg > plugins: httpbin-1.0.0, cov-4.1.0, asyncio-0.20.3, anyio-3.7.0 > asyncio: mode=Mode.STRICT > collecting ... collected 143 items / 34 deselected / 109 selected > > tests/test_api.py::test_request PASSED [ > 0%] > tests/test_api.py::test_stream PASSED [ > 1%] > tests/test_api.py::test_request_with_content FAILED [ > 2%] > tests/test_cancellations.py::test_connection_pool_timeout_during_request[asyncio] > PASSED [ 3%] > tests/test_cancellations.py::test_connection_pool_timeout_during_response[asyncio] > PASSED [ 4%] > tests/test_cancellations.py::test_h11_timeout_during_request[asyncio] PASSED > [ 5%] > tests/test_cancellations.py::test_h11_timeout_during_response[asyncio] PASSED > [ 6%] > tests/test_cancellations.py::test_h2_timeout_during_handshake[asyncio] PASSED > [ 7%] > tests/test_cancellations.py::test_h2_timeout_during_request[asyncio] PASSED [ > 8%] > tests/test_cancellations.py::test_h2_timeout_during_response[asyncio] PASSED > [ 9%] > tests/test_models.py::test_url PASSED [ > 10%] > tests/test_models.py::test_url_with_port PASSED [ > 11%] > tests/test_models.py::test_url_with_invalid_argument PASSED [ > 11%] > tests/test_models.py::test_url_cannot_include_unicode_strings PASSED [ > 12%] > tests/test_models.py::test_request PASSED [ > 13%] > tests/test_models.py::test_request_with_invalid_method PASSED [ > 14%] > tests/test_models.py::test_request_with_invalid_url PASSED [ > 15%] > tests/test_models.py::test_request_with_invalid_headers PASSED [ > 16%] > tests/test_models.py::test_response PASSED [ > 17%] > tests/test_models.py::test_response_sync_read PASSED [ > 18%] > tests/test_models.py::test_response_sync_streaming PASSED [ > 19%] > tests/_async/test_connection.py::test_http_connection[asyncio] PASSED [ > 20%] > tests/_async/test_connection.py::test_concurrent_requests_not_available_on_http11_connections[asyncio] > PASSED [ 21%] > tests/_async/test_connection.py::test_http2_connection[asyncio] PASSED [ > 22%] > tests/_async/test_connection.py::test_request_to_incorrect_origin[asyncio] > PASSED [ 22%] > tests/_async/test_connection.py::test_connection_retries[asyncio] PASSED [ > 23%] > tests/_async/test_connection.py::test_connection_retries_tls[asyncio] PASSED > [ 24%] > tests/_async/test_connection.py::test_uds_connections[asyncio] PASSED [ > 25%] > tests/_async/test_connection_pool.py::test_connection_pool_with_keepalive[asyncio] > PASSED [ 26%] > tests/_async/test_connection_pool.py::test_connection_pool_with_close[asyncio] > PASSED [ 27%] > tests/_async/test_connection_pool.py::test_connection_pool_with_http2[asyncio] > PASSED [ 28%] > tests/_async/test_connection_pool.py::test_connection_pool_with_http2_goaway[asyncio] > PASSED [ 29%] > tests/_async/test_connection_pool.py::test_trace_request[asyncio] PASSED [ > 30%] > tests/_async/test_connection_pool.py::test_debug_request[asyncio] PASSED [ > 31%] > tests/_async/test_connection_pool.py::test_connection_pool_with_http_exception[asyncio] > PASSED [ 32%] > tests/_async/test_connection_pool.py::test_connection_pool_with_connect_exception[asyncio] > PASSED [ 33%] > tests/_async/test_connection_pool.py::test_connection_pool_with_immediate_expiry[asyncio] > PASSED [ 33%] > tests/_async/test_connection_pool.py::test_connection_pool_with_no_keepalive_connections_allowed[asyncio] > PASSED [ 34%] > tests/_async/test_connection_pool.py::test_unsupported_protocol[asyncio] > PASSED [ 35%] > tests/_async/test_connection_pool.py::test_connection_pool_closed_while_request_in_flight[asyncio] > PASSED [ 36%] > tests/_async/test_connection_pool.py::test_connection_pool_timeout[asyncio] > PASSED [ 37%] > tests/_async/test_connection_pool.py::test_connection_pool_timeout_zero[asyncio] > PASSED [ 38%] > tests/_async/test_connection_pool.py::test_http11_upgrade_connection[asyncio] > PASSED [ 39%] > tests/_async/test_http11.py::test_http11_connection[asyncio] PASSED [ > 40%] > tests/_async/test_http11.py::test_http11_connection_unread_response[asyncio] > PASSED [ 41%] > tests/_async/test_http11.py::test_http11_connection_with_remote_protocol_error[asyncio] > PASSED [ 42%] > tests/_async/test_http11.py::test_http11_connection_with_incomplete_response[asyncio] > PASSED [ 43%] > tests/_async/test_http11.py::test_http11_connection_with_local_protocol_error[asyncio] > PASSED [ 44%] > tests/_async/test_http11.py::test_http11_connection_handles_one_active_request[asyncio] > PASSED [ 44%] > tests/_async/test_http11.py::test_http11_connection_attempt_close[asyncio] > PASSED [ 45%] > tests/_async/test_http11.py::test_http11_request_to_incorrect_origin[asyncio] > PASSED [ 46%] > tests/_async/test_http11.py::test_http11_expect_continue[asyncio] PASSED [ > 47%] > tests/_async/test_http11.py::test_http11_upgrade_connection[asyncio] PASSED [ > 48%] > tests/_async/test_http11.py::test_http11_early_hints[asyncio] PASSED [ > 49%] > tests/_async/test_http11.py::test_http11_header_sub_100kb[asyncio] PASSED [ > 50%] > tests/_async/test_http2.py::test_http2_connection[asyncio] PASSED [ > 51%] > tests/_async/test_http2.py::test_http2_connection_closed[asyncio] PASSED [ > 52%] > tests/_async/test_http2.py::test_http2_connection_post_request[asyncio] > PASSED [ 53%] > tests/_async/test_http2.py::test_http2_connection_with_remote_protocol_error[asyncio] > PASSED [ 54%] > tests/_async/test_http2.py::test_http2_connection_with_rst_stream[asyncio] > PASSED [ 55%] > tests/_async/test_http2.py::test_http2_connection_with_goaway[asyncio] PASSED > [ 55%] > tests/_async/test_http2.py::test_http2_connection_with_flow_control[asyncio] > PASSED [ 56%] > tests/_async/test_http2.py::test_http2_connection_attempt_close[asyncio] > PASSED [ 57%] > tests/_async/test_http2.py::test_http2_remote_max_streams_update[asyncio] > PASSED [ 58%] > tests/_async/test_integration.py::test_request[asyncio] PASSED [ > 59%] > tests/_sync/test_connection.py::test_http_connection PASSED [ > 60%] > tests/_sync/test_connection.py::test_concurrent_requests_not_available_on_http11_connections > PASSED [ 61%] > tests/_sync/test_connection.py::test_http2_connection PASSED [ > 62%] > tests/_sync/test_connection.py::test_request_to_incorrect_origin PASSED [ > 63%] > tests/_sync/test_connection.py::test_connection_retries PASSED [ > 64%] > tests/_sync/test_connection.py::test_connection_retries_tls PASSED [ > 65%] > tests/_sync/test_connection.py::test_uds_connections PASSED [ > 66%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_keepalive > PASSED [ 66%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_close PASSED [ > 67%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_http2 PASSED [ > 68%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_http2_goaway > PASSED [ 69%] > tests/_sync/test_connection_pool.py::test_trace_request PASSED [ > 70%] > tests/_sync/test_connection_pool.py::test_debug_request PASSED [ > 71%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_http_exception > PASSED [ 72%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_connect_exception > PASSED [ 73%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_immediate_expiry > PASSED [ 74%] > tests/_sync/test_connection_pool.py::test_connection_pool_with_no_keepalive_connections_allowed > PASSED [ 75%] > tests/_sync/test_connection_pool.py::test_unsupported_protocol PASSED [ > 76%] > tests/_sync/test_connection_pool.py::test_connection_pool_closed_while_request_in_flight > PASSED [ 77%] > tests/_sync/test_connection_pool.py::test_connection_pool_timeout PASSED [ > 77%] > tests/_sync/test_connection_pool.py::test_connection_pool_timeout_zero PASSED > [ 78%] > tests/_sync/test_connection_pool.py::test_http11_upgrade_connection PASSED [ > 79%] > tests/_sync/test_http11.py::test_http11_connection PASSED [ > 80%] > tests/_sync/test_http11.py::test_http11_connection_unread_response PASSED [ > 81%] > tests/_sync/test_http11.py::test_http11_connection_with_remote_protocol_error > PASSED [ 82%] > tests/_sync/test_http11.py::test_http11_connection_with_incomplete_response > PASSED [ 83%] > tests/_sync/test_http11.py::test_http11_connection_with_local_protocol_error > PASSED [ 84%] > tests/_sync/test_http11.py::test_http11_connection_handles_one_active_request > PASSED [ 85%] > tests/_sync/test_http11.py::test_http11_connection_attempt_close PASSED [ > 86%] > tests/_sync/test_http11.py::test_http11_request_to_incorrect_origin PASSED [ > 87%] > tests/_sync/test_http11.py::test_http11_expect_continue PASSED [ > 88%] > tests/_sync/test_http11.py::test_http11_upgrade_connection PASSED [ > 88%] > tests/_sync/test_http11.py::test_http11_early_hints PASSED [ > 89%] > tests/_sync/test_http11.py::test_http11_header_sub_100kb PASSED [ > 90%] > tests/_sync/test_http2.py::test_http2_connection PASSED [ > 91%] > tests/_sync/test_http2.py::test_http2_connection_closed PASSED [ > 92%] > tests/_sync/test_http2.py::test_http2_connection_post_request PASSED [ > 93%] > tests/_sync/test_http2.py::test_http2_connection_with_remote_protocol_error > PASSED [ 94%] > tests/_sync/test_http2.py::test_http2_connection_with_rst_stream PASSED [ > 95%] > tests/_sync/test_http2.py::test_http2_connection_with_goaway PASSED [ > 96%] > tests/_sync/test_http2.py::test_http2_connection_with_flow_control PASSED [ > 97%] > tests/_sync/test_http2.py::test_http2_connection_attempt_close PASSED [ > 98%] > tests/_sync/test_http2.py::test_http2_remote_max_streams_update PASSED [ > 99%] > tests/_sync/test_integration.py::test_request PASSED > [100%] > > =================================== FAILURES > =================================== > __________________________ test_request_with_content > ___________________________ > > httpbin = <pytest_httpbin.serve.Server object at 0x7fc9c6d6b790> > > def test_request_with_content(httpbin): > url = f"{httpbin.url}/post" > response = httpcore.request("POST", url, content=b'{"hello":"world"}') > > assert response.status == 200 > E assert 500 == 200 > E + where 500 = <Response [500]>.status > > tests/test_api.py:19: AssertionError > ----------------------------- Captured stderr call > ----------------------------- > 127.0.0.1 - - [26/Sep/2023 06:38:50] "POST /post HTTP/1.1" 500 265 > ------------------------------ Captured log call > ------------------------------- > ERROR httpbin.core:app.py:1744 Exception on /post [POST] > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/flask/app.py", line 2529, in wsgi_app > response = self.full_dispatch_request() > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/flask/app.py", line 1825, in > full_dispatch_request > rv = self.handle_user_exception(e) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/flask/app.py", line 1823, in > full_dispatch_request > rv = self.dispatch_request() > ^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in > dispatch_request > return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/httpbin/core.py", line 433, in > view_post > return jsonify( > ^^^^^^^^ > File "/usr/lib/python3/dist-packages/httpbin/core.py", line 77, in jsonify > response = flask_jsonify(*args, **kwargs) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/flask/json/__init__.py", line 342, in > jsonify > return current_app.json.response(*args, **kwargs) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/flask/json/provider.py", line 281, in > response > warnings.warn( > DeprecationWarning: The 'JSONIFY_PRETTYPRINT_REGULAR' config key is > deprecated and will be removed in Flask 2.3. Set 'app.json.compact' instead. > ================= 1 failed, 108 passed, 34 deselected in 4.55s > ================= > E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_httpcore/build; python3.11 -m pytest > --verbose -o asyncio_mode=strict -k ' not test_closing_http_request and not > test_connection_pool_get_connection_info and not test_explicit_backend_name > and not test_http2_request and not test_http_proxy and not test_http_request > and not test_http_request_cannot_reuse_dropped_connection and not > test_http_request_local_address and not test_http_request_reuse_connection > and not test_https_request and not test_https_request_reuse_connection and > not test_max_keepalive_connections_handled_correctly and not > test_proxy_https_requests and not > test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool > and not test_threadsafe_basic and not > test_broken_socket_detection_many_open_files and not test_no_retries and not > test_retries_enabled and not test_retries_exceeded and not > test_connection_timeout_tcp and not test_connection_timeout_uds and not > test_response_async_read and not test_response_async_streaming and not > test_connection_pool_concurrency and not > test_connection_pool_concurrency_same_domain_closing and not > test_connection_pool_concurrency_same_domain_keepalive and not > test_ssl_request and not test_extra_info and not > test_socks5_request_incorrect_auth and not > test_socks5_request_failed_to_provide_auth and not > test_socks5_request_connect_failed and not test_authenticated_socks5_request > and not test_socks5_request ' > 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/httpcore_0.17.3-1_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.