Package: src:httpx
Version: 0.27.2-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_httpx  
* Building wheel...

[... snipped ...]

tests/models/test_whatwg.py::test_urlparse[test_case471] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case472] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case473] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case474] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case475] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case476] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case477] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case478] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case479] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case480] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case481] PASSED          [ 73%]
tests/models/test_whatwg.py::test_urlparse[test_case482] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case483] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case484] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case485] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case486] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case487] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case488] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case489] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case490] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case491] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case492] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case493] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case494] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case495] PASSED          [ 74%]
tests/models/test_whatwg.py::test_urlparse[test_case496] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case497] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case498] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case499] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case500] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case501] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case502] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case503] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case504] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case505] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case506] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case507] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case508] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case509] PASSED          [ 75%]
tests/models/test_whatwg.py::test_urlparse[test_case510] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case511] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case512] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case513] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case514] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case515] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case516] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case517] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case518] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case519] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case520] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case521] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case522] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case523] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case524] PASSED          [ 76%]
tests/models/test_whatwg.py::test_urlparse[test_case525] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case526] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case527] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case528] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case529] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case530] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case531] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case532] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case533] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case534] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case535] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case536] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case537] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case538] PASSED          [ 77%]
tests/models/test_whatwg.py::test_urlparse[test_case539] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case540] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case541] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case542] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case543] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case544] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case545] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case546] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case547] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case548] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case549] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case550] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case551] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case552] PASSED          [ 78%]
tests/models/test_whatwg.py::test_urlparse[test_case553] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case554] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case555] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case556] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case557] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case558] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case559] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case560] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case561] PASSED          [ 79%]
tests/models/test_whatwg.py::test_urlparse[test_case562] PASSED          [ 79%]
tests/test_api.py::test_get PASSED                                       [ 79%]
tests/test_api.py::test_post PASSED                                      [ 79%]
tests/test_api.py::test_post_byte_iterator PASSED                        [ 79%]
tests/test_api.py::test_post_byte_stream PASSED                          [ 79%]
tests/test_api.py::test_options PASSED                                   [ 80%]
tests/test_api.py::test_head PASSED                                      [ 80%]
tests/test_api.py::test_put PASSED                                       [ 80%]
tests/test_api.py::test_patch PASSED                                     [ 80%]
tests/test_api.py::test_delete PASSED                                    [ 80%]
tests/test_api.py::test_stream PASSED                                    [ 80%]
tests/test_api.py::test_get_invalid_url PASSED                           [ 80%]
tests/test_asgi.py::test_asgi_transport[asyncio] PASSED                  [ 80%]
tests/test_asgi.py::test_asgi_transport_no_body[asyncio] PASSED          [ 80%]
tests/test_asgi.py::test_asgi[asyncio] PASSED                            [ 80%]
tests/test_asgi.py::test_asgi_urlencoded_path[asyncio] PASSED            [ 80%]
tests/test_asgi.py::test_asgi_raw_path[asyncio] PASSED                   [ 80%]
tests/test_asgi.py::test_asgi_raw_path_should_not_include_querystring_portion[asyncio]
 PASSED [ 80%]
tests/test_asgi.py::test_asgi_upload[asyncio] PASSED                     [ 80%]
tests/test_asgi.py::test_asgi_headers[asyncio] PASSED                    [ 80%]
tests/test_asgi.py::test_asgi_exc[asyncio] PASSED                        [ 81%]
tests/test_asgi.py::test_asgi_exc_after_response[asyncio] PASSED         [ 81%]
tests/test_asgi.py::test_asgi_disconnect_after_response_complete[asyncio] 
PASSED [ 81%]
tests/test_asgi.py::test_asgi_exc_no_raise[asyncio] PASSED               [ 81%]
tests/test_asgi.py::test_deprecated_shortcut[asyncio] PASSED             [ 81%]
tests/test_asgi.py::test_asgi_transport[trio] PASSED                     [ 81%]
tests/test_asgi.py::test_asgi_transport_no_body[trio] PASSED             [ 81%]
tests/test_asgi.py::test_asgi[trio] PASSED                               [ 81%]
tests/test_asgi.py::test_asgi_urlencoded_path[trio] PASSED               [ 81%]
tests/test_asgi.py::test_asgi_raw_path[trio] PASSED                      [ 81%]
tests/test_asgi.py::test_asgi_raw_path_should_not_include_querystring_portion[trio]
 PASSED [ 81%]
tests/test_asgi.py::test_asgi_upload[trio] PASSED                        [ 81%]
tests/test_asgi.py::test_asgi_headers[trio] PASSED                       [ 81%]
tests/test_asgi.py::test_asgi_exc[trio] PASSED                           [ 81%]
tests/test_asgi.py::test_asgi_exc_after_response[trio] PASSED            [ 82%]
tests/test_asgi.py::test_asgi_disconnect_after_response_complete[trio] PASSED [ 
82%]
tests/test_asgi.py::test_asgi_exc_no_raise[trio] PASSED                  [ 82%]
tests/test_asgi.py::test_deprecated_shortcut[trio] PASSED                [ 82%]
tests/test_auth.py::test_basic_auth PASSED                               [ 82%]
tests/test_auth.py::test_digest_auth_with_200 PASSED                     [ 82%]
tests/test_auth.py::test_digest_auth_with_401 PASSED                     [ 82%]
tests/test_auth.py::test_digest_auth_with_401_nonce_counting PASSED      [ 82%]
tests/test_auth.py::test_digest_auth_setting_cookie_in_request PASSED    [ 82%]
tests/test_auth.py::test_digest_auth_rfc_2069 PASSED                     [ 82%]
tests/test_auth.py::test_digest_auth_rfc_7616_md5 PASSED                 [ 82%]
tests/test_auth.py::test_digest_auth_rfc_7616_sha_256 PASSED             [ 82%]
tests/test_config.py::test_load_ssl_config PASSED                        [ 82%]
tests/test_config.py::test_load_ssl_config_verify_non_existing_path PASSED [ 
82%]
tests/test_config.py::test_load_ssl_config_verify_existing_file PASSED   [ 83%]
tests/test_config.py::test_load_ssl_config_verify_env_file[SSL_CERT_FILE] 
PASSED [ 83%]
tests/test_config.py::test_load_ssl_config_verify_env_file[SSL_CERT_DIR] PASSED 
[ 83%]
tests/test_config.py::test_load_ssl_config_verify_directory PASSED       [ 83%]
tests/test_config.py::test_load_ssl_config_cert_and_key PASSED           [ 83%]
tests/test_config.py::test_load_ssl_config_cert_and_encrypted_key[password0] 
PASSED [ 83%]
tests/test_config.py::test_load_ssl_config_cert_and_encrypted_key[password1] 
PASSED [ 83%]
tests/test_config.py::test_load_ssl_config_cert_and_key_invalid_password PASSED 
[ 83%]
tests/test_config.py::test_load_ssl_config_cert_without_key_raises PASSED [ 83%]
tests/test_config.py::test_load_ssl_config_no_verify PASSED              [ 83%]
tests/test_config.py::test_load_ssl_context PASSED                       [ 83%]
tests/test_config.py::test_create_ssl_context_with_get_request PASSED    [ 83%]
tests/test_config.py::test_limits_repr PASSED                            [ 83%]
tests/test_config.py::test_limits_eq PASSED                              [ 83%]
tests/test_config.py::test_timeout_eq PASSED                             [ 84%]
tests/test_config.py::test_timeout_all_parameters_set PASSED             [ 84%]
tests/test_config.py::test_timeout_from_nothing PASSED                   [ 84%]
tests/test_config.py::test_timeout_from_none PASSED                      [ 84%]
tests/test_config.py::test_timeout_from_one_none_value PASSED            [ 84%]
tests/test_config.py::test_timeout_from_one_value PASSED                 [ 84%]
tests/test_config.py::test_timeout_from_one_value_and_default PASSED     [ 84%]
tests/test_config.py::test_timeout_missing_default PASSED                [ 84%]
tests/test_config.py::test_timeout_from_tuple PASSED                     [ 84%]
tests/test_config.py::test_timeout_from_config_instance PASSED           [ 84%]
tests/test_config.py::test_timeout_repr PASSED                           [ 84%]
tests/test_config.py::test_ssl_config_support_for_keylog_file PASSED     [ 84%]
tests/test_config.py::test_proxy_from_url PASSED                         [ 84%]
tests/test_config.py::test_proxy_with_auth_from_url PASSED               [ 84%]
tests/test_config.py::test_invalid_proxy_scheme PASSED                   [ 84%]
tests/test_content.py::test_empty_content[asyncio] PASSED                [ 85%]
tests/test_content.py::test_bytes_content[asyncio] PASSED                [ 85%]
tests/test_content.py::test_bytesio_content[asyncio] PASSED              [ 85%]
tests/test_content.py::test_async_bytesio_content[asyncio] PASSED        [ 85%]
tests/test_content.py::test_iterator_content[asyncio] PASSED             [ 85%]
tests/test_content.py::test_aiterator_content[asyncio] PASSED            [ 85%]
tests/test_content.py::test_json_content[asyncio] PASSED                 [ 85%]
tests/test_content.py::test_urlencoded_content[asyncio] PASSED           [ 85%]
tests/test_content.py::test_urlencoded_boolean[asyncio] PASSED           [ 85%]
tests/test_content.py::test_urlencoded_none[asyncio] PASSED              [ 85%]
tests/test_content.py::test_urlencoded_list[asyncio] PASSED              [ 85%]
tests/test_content.py::test_multipart_files_content[asyncio] PASSED      [ 85%]
tests/test_content.py::test_multipart_data_and_files_content[asyncio] PASSED [ 
85%]
tests/test_content.py::test_empty_request[asyncio] PASSED                [ 85%]
tests/test_content.py::test_multipart_multiple_files_single_input_content[asyncio]
 PASSED [ 86%]
tests/test_content.py::test_response_empty_content[asyncio] PASSED       [ 86%]
tests/test_content.py::test_response_bytes_content[asyncio] PASSED       [ 86%]
tests/test_content.py::test_response_iterator_content[asyncio] PASSED    [ 86%]
tests/test_content.py::test_response_aiterator_content[asyncio] PASSED   [ 86%]
tests/test_content.py::test_empty_content[trio] PASSED                   [ 86%]
tests/test_content.py::test_bytes_content[trio] PASSED                   [ 86%]
tests/test_content.py::test_bytesio_content[trio] PASSED                 [ 86%]
tests/test_content.py::test_async_bytesio_content[trio] PASSED           [ 86%]
tests/test_content.py::test_iterator_content[trio] PASSED                [ 86%]
tests/test_content.py::test_aiterator_content[trio] PASSED               [ 86%]
tests/test_content.py::test_json_content[trio] PASSED                    [ 86%]
tests/test_content.py::test_urlencoded_content[trio] PASSED              [ 86%]
tests/test_content.py::test_urlencoded_boolean[trio] PASSED              [ 86%]
tests/test_content.py::test_urlencoded_none[trio] PASSED                 [ 87%]
tests/test_content.py::test_urlencoded_list[trio] PASSED                 [ 87%]
tests/test_content.py::test_multipart_files_content[trio] PASSED         [ 87%]
tests/test_content.py::test_multipart_data_and_files_content[trio] PASSED [ 87%]
tests/test_content.py::test_empty_request[trio] PASSED                   [ 87%]
tests/test_content.py::test_multipart_multiple_files_single_input_content[trio] 
PASSED [ 87%]
tests/test_content.py::test_response_empty_content[trio] PASSED          [ 87%]
tests/test_content.py::test_response_bytes_content[trio] PASSED          [ 87%]
tests/test_content.py::test_response_iterator_content[trio] PASSED       [ 87%]
tests/test_content.py::test_response_aiterator_content[trio] PASSED      [ 87%]
tests/test_content.py::test_invalid_argument PASSED                      [ 87%]
tests/test_content.py::test_response_invalid_argument PASSED             [ 87%]
tests/test_decoders.py::test_deflate PASSED                              [ 87%]
tests/test_decoders.py::test_zlib PASSED                                 [ 87%]
tests/test_decoders.py::test_gzip PASSED                                 [ 88%]
tests/test_decoders.py::test_brotli PASSED                               [ 88%]
tests/test_decoders.py::test_zstd PASSED                                 [ 88%]
tests/test_decoders.py::test_zstd_decoding_error PASSED                  [ 88%]
tests/test_decoders.py::test_zstd_multiframe PASSED                      [ 88%]
tests/test_decoders.py::test_multi PASSED                                [ 88%]
tests/test_decoders.py::test_multi_with_identity PASSED                  [ 88%]
tests/test_decoders.py::test_streaming[asyncio] PASSED                   [ 88%]
tests/test_decoders.py::test_text_decoder_with_autodetect[asyncio-data0-ascii] 
PASSED [ 88%]
tests/test_decoders.py::test_text_decoder_with_autodetect[asyncio-data1-utf-8] 
PASSED [ 88%]
tests/test_decoders.py::test_text_decoder_with_autodetect[asyncio-data2-cp1252] 
PASSED [ 88%]
tests/test_decoders.py::test_text_decoder_with_autodetect[asyncio-data3-iso-8859-1]
 PASSED [ 88%]
tests/test_decoders.py::test_text_decoder_known_encoding[asyncio] PASSED [ 88%]
tests/test_decoders.py::test_streaming[trio] PASSED                      [ 88%]
tests/test_decoders.py::test_text_decoder_with_autodetect[trio-data0-ascii] 
PASSED [ 88%]
tests/test_decoders.py::test_text_decoder_with_autodetect[trio-data1-utf-8] 
PASSED [ 89%]
tests/test_decoders.py::test_text_decoder_with_autodetect[trio-data2-cp1252] 
PASSED [ 89%]
tests/test_decoders.py::test_text_decoder_with_autodetect[trio-data3-iso-8859-1]
 PASSED [ 89%]
tests/test_decoders.py::test_text_decoder_known_encoding[trio] PASSED    [ 89%]
tests/test_decoders.py::test_empty_content[deflate] PASSED               [ 89%]
tests/test_decoders.py::test_empty_content[gzip] PASSED                  [ 89%]
tests/test_decoders.py::test_empty_content[br] PASSED                    [ 89%]
tests/test_decoders.py::test_empty_content[identity] PASSED              [ 89%]
tests/test_decoders.py::test_decoders_empty_cases[deflate] PASSED        [ 89%]
tests/test_decoders.py::test_decoders_empty_cases[gzip] PASSED           [ 89%]
tests/test_decoders.py::test_decoders_empty_cases[br] PASSED             [ 89%]
tests/test_decoders.py::test_decoders_empty_cases[identity] PASSED       [ 89%]
tests/test_decoders.py::test_decoding_errors[deflate] PASSED             [ 89%]
tests/test_decoders.py::test_decoding_errors[gzip] PASSED                [ 89%]
tests/test_decoders.py::test_decoding_errors[br] PASSED                  [ 90%]
tests/test_decoders.py::test_text_decoder_empty_cases PASSED             [ 90%]
tests/test_decoders.py::test_streaming_text_decoder[data0-expected0] PASSED [ 
90%]
tests/test_decoders.py::test_line_decoder_nl PASSED                      [ 90%]
tests/test_decoders.py::test_line_decoder_cr PASSED                      [ 90%]
tests/test_decoders.py::test_line_decoder_crnl PASSED                    [ 90%]
tests/test_decoders.py::test_invalid_content_encoding_header PASSED      [ 90%]
tests/test_exceptions.py::test_httpcore_all_exceptions_mapped PASSED     [ 90%]
tests/test_exceptions.py::test_httpcore_exception_mapping PASSED         [ 90%]
tests/test_exceptions.py::test_request_attribute PASSED                  [ 90%]
tests/test_exported_members.py::test_all_imports_are_exported PASSED     [ 90%]
tests/test_main.py::test_help PASSED                                     [ 90%]
tests/test_main.py::test_get PASSED                                      [ 90%]
tests/test_main.py::test_json PASSED                                     [ 90%]
tests/test_main.py::test_binary PASSED                                   [ 91%]
tests/test_main.py::test_redirects PASSED                                [ 91%]
tests/test_main.py::test_follow_redirects PASSED                         [ 91%]
tests/test_main.py::test_post PASSED                                     [ 91%]
tests/test_main.py::test_verbose FAILED                                  [ 91%]
tests/test_main.py::test_auth FAILED                                     [ 91%]
tests/test_main.py::test_download PASSED                                 [ 91%]
tests/test_main.py::test_errors PASSED                                   [ 91%]
tests/test_multipart.py::test_multipart[abc-abc0] PASSED                 [ 91%]
tests/test_multipart.py::test_multipart[abc-abc1] PASSED                 [ 91%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
boundary=+++; charset=utf-8] PASSED [ 91%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
charset=utf-8; boundary=+++] PASSED [ 91%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
boundary=+++] PASSED [ 91%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
boundary=+++ ;] PASSED [ 91%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
boundary="+++"; charset=utf-8] PASSED [ 92%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
charset=utf-8; boundary="+++"] PASSED [ 92%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
boundary="+++"] PASSED [ 92%]
tests/test_multipart.py::test_multipart_explicit_boundary[multipart/form-data; 
boundary="+++" ;] PASSED [ 92%]
tests/test_multipart.py::test_multipart_header_without_boundary[multipart/form-data;
 charset=utf-8] PASSED [ 92%]
tests/test_multipart.py::test_multipart_header_without_boundary[multipart/form-data;
 charset=utf-8; ] PASSED [ 92%]
tests/test_multipart.py::test_multipart_invalid_key[abc] PASSED          [ 92%]
tests/test_multipart.py::test_multipart_invalid_key[1] PASSED            [ 92%]
tests/test_multipart.py::test_multipart_invalid_key[2.3] PASSED          [ 92%]
tests/test_multipart.py::test_multipart_invalid_key[None] PASSED         [ 92%]
tests/test_multipart.py::test_multipart_invalid_value[value0] PASSED     [ 92%]
tests/test_multipart.py::test_multipart_invalid_value[value1] PASSED     [ 92%]
tests/test_multipart.py::test_multipart_file_tuple PASSED                [ 92%]
tests/test_multipart.py::test_multipart_file_tuple_headers[None] PASSED  [ 92%]
tests/test_multipart.py::test_multipart_file_tuple_headers[text/plain] PASSED [ 
92%]
tests/test_multipart.py::test_multipart_headers_include_content_type PASSED [ 
93%]
tests/test_multipart.py::test_multipart_encode PASSED                    [ 93%]
tests/test_multipart.py::test_multipart_encode_unicode_file_contents PASSED [ 
93%]
tests/test_multipart.py::test_multipart_encode_files_allows_filenames_as_none 
PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_files_guesses_correct_content_type[example.json-application/json]
 PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_files_guesses_correct_content_type[example.txt-text/plain]
 PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_files_guesses_correct_content_type[no-extension-application/octet-stream]
 PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_files_allows_bytes_content 
PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_files_allows_str_content PASSED 
[ 93%]
tests/test_multipart.py::test_multipart_encode_files_raises_exception_with_StringIO_content
 PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_files_raises_exception_with_text_mode_file
 PASSED [ 93%]
tests/test_multipart.py::test_multipart_encode_non_seekable_filelike PASSED [ 
93%]
tests/test_multipart.py::test_multipart_rewinds_files PASSED             [ 93%]
tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_unicode PASSED [ 
93%]
tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_ascii PASSED [ 
94%]
tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_unicode_escape 
PASSED [ 94%]
tests/test_multipart.py::TestHeaderParamHTML5Formatting::test_unicode_with_control_character
 PASSED [ 94%]
tests/test_status_codes.py::test_status_code_as_int PASSED               [ 94%]
tests/test_status_codes.py::test_status_code_value_lookup PASSED         [ 94%]
tests/test_status_codes.py::test_status_code_phrase_lookup PASSED        [ 94%]
tests/test_status_codes.py::test_lowercase_status_code PASSED            [ 94%]
tests/test_status_codes.py::test_reason_phrase_for_status_code PASSED    [ 94%]
tests/test_status_codes.py::test_reason_phrase_for_unknown_status_code PASSED [ 
94%]
tests/test_timeouts.py::test_read_timeout[asyncio] PASSED                [ 94%]
tests/test_timeouts.py::test_write_timeout[asyncio] PASSED               [ 94%]
tests/test_timeouts.py::test_pool_timeout[asyncio] PASSED                [ 94%]
tests/test_timeouts.py::test_async_client_new_request_send_timeout[asyncio] 
PASSED [ 94%]
tests/test_timeouts.py::test_read_timeout[trio] PASSED                   [ 94%]
tests/test_timeouts.py::test_write_timeout[trio] PASSED                  [ 95%]
tests/test_timeouts.py::test_pool_timeout[trio] PASSED                   [ 95%]
tests/test_timeouts.py::test_async_client_new_request_send_timeout[trio] PASSED 
[ 95%]
tests/test_utils.py::test_encoded[utf-32] PASSED                         [ 95%]
tests/test_utils.py::test_encoded[utf-8-sig] PASSED                      [ 95%]
tests/test_utils.py::test_encoded[utf-16] PASSED                         [ 95%]
tests/test_utils.py::test_encoded[utf-8] PASSED                          [ 95%]
tests/test_utils.py::test_encoded[utf-16-be] PASSED                      [ 95%]
tests/test_utils.py::test_encoded[utf-16-le] PASSED                      [ 95%]
tests/test_utils.py::test_encoded[utf-32-be] PASSED                      [ 95%]
tests/test_utils.py::test_encoded[utf-32-le] PASSED                      [ 95%]
tests/test_utils.py::test_bad_utf_like_encoding PASSED                   [ 95%]
tests/test_utils.py::test_guess_by_bom[utf-16-be-utf-16] PASSED          [ 95%]
tests/test_utils.py::test_guess_by_bom[utf-16-le-utf-16] PASSED          [ 95%]
tests/test_utils.py::test_guess_by_bom[utf-32-be-utf-32] PASSED          [ 96%]
tests/test_utils.py::test_guess_by_bom[utf-32-le-utf-32] PASSED          [ 96%]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>; rel=front; 
type="image/jpeg"-expected0] PASSED [ 96%]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>-expected1] 
PASSED [ 96%]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>;-expected2] 
PASSED [ 96%]
tests/test_utils.py::test_parse_header_links[<http:/.../front.jpeg>; 
type="image/jpeg",<http://.../back.jpeg>;-expected3] PASSED [ 96%]
tests/test_utils.py::test_parse_header_links[-expected4] PASSED          [ 96%]
tests/test_utils.py::test_parse_header_links_no_link PASSED              [ 96%]
tests/test_utils.py::test_logging_request PASSED                         [ 96%]
tests/test_utils.py::test_logging_redirect_chain PASSED                  [ 96%]
tests/test_utils.py::test_logging_ssl PASSED                             [ 96%]
tests/test_utils.py::test_get_ssl_cert_file PASSED                       [ 96%]
tests/test_utils.py::test_get_environment_proxies[environment0-proxies0] PASSED 
[ 96%]
tests/test_utils.py::test_get_environment_proxies[environment1-proxies1] PASSED 
[ 96%]
tests/test_utils.py::test_get_environment_proxies[environment2-proxies2] PASSED 
[ 96%]
tests/test_utils.py::test_get_environment_proxies[environment3-proxies3] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment4-proxies4] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment5-proxies5] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment6-proxies6] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment7-proxies7] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment8-proxies8] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment9-proxies9] PASSED 
[ 97%]
tests/test_utils.py::test_get_environment_proxies[environment10-proxies10] 
PASSED [ 97%]
tests/test_utils.py::test_get_environment_proxies[environment11-proxies11] 
PASSED [ 97%]
tests/test_utils.py::test_obfuscate_sensitive_headers[headers0-output0] PASSED 
[ 97%]
tests/test_utils.py::test_obfuscate_sensitive_headers[headers1-output1] PASSED 
[ 97%]
tests/test_utils.py::test_obfuscate_sensitive_headers[headers2-output2] PASSED 
[ 97%]
tests/test_utils.py::test_same_origin PASSED                             [ 97%]
tests/test_utils.py::test_not_same_origin PASSED                         [ 97%]
tests/test_utils.py::test_is_https_redirect PASSED                       [ 98%]
tests/test_utils.py::test_is_not_https_redirect PASSED                   [ 98%]
tests/test_utils.py::test_is_not_https_redirect_if_not_default_ports PASSED [ 
98%]
tests/test_utils.py::test_url_matches[http://example.com-http://example.com-True]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[http://example.com-https://example.com-False]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[http://example.com-http://other.com-False]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[http://example.com:123-http://example.com:123-True]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[http://example.com:123-http://example.com:456-False]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[http://example.com:123-http://example.com-False]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[all://example.com-http://example.com-True]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[all://example.com-https://example.com-True]
 PASSED [ 98%]
tests/test_utils.py::test_url_matches[http://-http://example.com-True] PASSED [ 
98%]
tests/test_utils.py::test_url_matches[http://-https://example.com-False] PASSED 
[ 98%]
tests/test_utils.py::test_url_matches[all://-https://example.com:123-True] 
PASSED [ 98%]
tests/test_utils.py::test_url_matches[-https://example.com:123-True] PASSED [ 
99%]
tests/test_utils.py::test_pattern_priority PASSED                        [ 99%]
tests/test_wsgi.py::test_wsgi PASSED                                     [ 99%]
tests/test_wsgi.py::test_wsgi_upload PASSED                              [ 99%]
tests/test_wsgi.py::test_wsgi_upload_with_response_stream PASSED         [ 99%]
tests/test_wsgi.py::test_wsgi_exc PASSED                                 [ 99%]
tests/test_wsgi.py::test_wsgi_http_error PASSED                          [ 99%]
tests/test_wsgi.py::test_wsgi_generator PASSED                           [ 99%]
tests/test_wsgi.py::test_wsgi_generator_empty PASSED                     [ 99%]
tests/test_wsgi.py::test_logging PASSED                                  [ 99%]
tests/test_wsgi.py::test_wsgi_server_port[auto-http] PASSED              [ 99%]
tests/test_wsgi.py::test_wsgi_server_port[auto-https] PASSED             [ 99%]
tests/test_wsgi.py::test_wsgi_server_port[explicit-port] PASSED          [ 99%]
tests/test_wsgi.py::test_wsgi_server_protocol PASSED                     [ 99%]
tests/test_wsgi.py::test_deprecated_shortcut PASSED                      [100%]

=================================== FAILURES ===================================
_________________________________ test_verbose _________________________________

server = <tests.conftest.TestServer object at 0x7fac77bef620>

    def test_verbose(server):
        url = str(server.url)
        runner = CliRunner()
        result = runner.invoke(httpx.main, [url, "-v"])
        assert result.exit_code == 0
>       assert remove_date_header(splitlines(result.output)) == [
            "* Connecting to '127.0.0.1'",
            "* Connected to '127.0.0.1' on port 8000",
            "GET / HTTP/1.1",
            f"Host: {server.url.netloc.decode('ascii')}",
            "Accept: */*",
            "Accept-Encoding: gzip, deflate, br, zstd",
            "Connection: keep-alive",
            f"User-Agent: python-httpx/{httpx.__version__}",
            "",
            "HTTP/1.1 200 OK",
            "server: uvicorn",
            "content-type: text/plain",
            "Transfer-Encoding: chunked",
            "",
            "Hello, world!",
        ]
E       assert ['HTTP/1.1 20...ello, world!'] == ["* Connectin...r, zstd', ...]
E         
E         At index 0 diff: 'HTTP/1.1 200 OK' != "* Connecting to '127.0.0.1'"
E         Right contains 9 more items, first extra item: 'Connection: 
keep-alive'
E         
E         Full diff:
E           [
E         -     "* Connecting to '127.0.0.1'",...
E         
E         ...Full output truncated (15 lines hidden), use '-vv' to show

tests/test_main.py:126: AssertionError
----------------------------- Captured stdout call -----------------------------
INFO:     127.0.0.1:39898 - "GET / HTTP/1.1" 200 OK
__________________________________ test_auth ___________________________________

server = <tests.conftest.TestServer object at 0x7fac77bef620>

    def test_auth(server):
        url = str(server.url)
        runner = CliRunner()
        result = runner.invoke(httpx.main, [url, "-v", "--auth", "username", 
"password"])
        print(result.output)
        assert result.exit_code == 0
>       assert remove_date_header(splitlines(result.output)) == [
            "* Connecting to '127.0.0.1'",
            "* Connected to '127.0.0.1' on port 8000",
            "GET / HTTP/1.1",
            f"Host: {server.url.netloc.decode('ascii')}",
            "Accept: */*",
            "Accept-Encoding: gzip, deflate, br, zstd",
            "Connection: keep-alive",
            f"User-Agent: python-httpx/{httpx.__version__}",
            "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=",
            "",
            "HTTP/1.1 200 OK",
            "server: uvicorn",
            "content-type: text/plain",
            "Transfer-Encoding: chunked",
            "",
            "Hello, world!",
        ]
E       assert ['HTTP/1.1 20...ello, world!'] == ["* Connectin...r, zstd', ...]
E         
E         At index 0 diff: 'HTTP/1.1 200 OK' != "* Connecting to '127.0.0.1'"
E         Right contains 10 more items, first extra item: 'Connection: 
keep-alive'
E         
E         Full diff:
E           [
E         -     "* Connecting to '127.0.0.1'",...
E         
E         ...Full output truncated (16 lines hidden), use '-vv' to show

tests/test_main.py:151: AssertionError
----------------------------- Captured stdout call -----------------------------
INFO:     127.0.0.1:39908 - "GET / HTTP/1.1" 200 OK
HTTP/1.1 200 OK
date: Fri, 21 Feb 2025 21:22:30 GMT
server: uvicorn
content-type: text/plain
Transfer-Encoding: chunked

Hello, world!

=========================== short test summary info ============================
SKIPPED [1] tests/client/test_auth.py:296: netrc files without a password are 
valid from Python >= 3.11
=========== 2 failed, 1422 passed, 1 skipped, 5 deselected in 4.76s ============
make[1]: *** [debian/rules:16: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:httpx, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to