Package: src:python-urllib3 Version: 2.8.0-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202610/ 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 cannot 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:python-urllib3, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: > raise ValueError("check_hostname requires server_hostname") E ValueError: check_hostname requires server_hostname /usr/lib/python3.14/ssl.py:387: ValueError =============================== warnings summary =============================== test/contrib/test_pyopenssl.py: 15 warnings test/with_dummyserver/test_socketlevel.py: 18 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/with_dummyserver/test_socketlevel.py:216: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl.SSLContext(ssl_version) test/contrib/test_socks.py: 19 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/dummyserver/socketserver.py:125: NoIPv6Warning: No IPv6 support. Falling back to IPv4. warnings.warn("No IPv6 support. Falling back to IPv4.", NoIPv6Warning) test/contrib/test_socks.py::TestSOCKSWithTLS::test_basic_request /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/contrib/test_socks.py:817: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = better_ssl.SSLContext(ssl.PROTOCOL_SSLv23) # type: ignore[misc] test/with_dummyserver/test_connectionpool.py::TestConnectionPool::test_source_address /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/with_dummyserver/test_connectionpool.py:857: NoIPv6Warning: No IPv6 support: skipping. warnings.warn("No IPv6 support: skipping.", NoIPv6Warning) test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_client_cert_with_string_password test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_client_cert_with_bytes_password /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/with_dummyserver/test_socketlevel.py:424: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated ssl_context = ssl_.SSLContext(ssl_.PROTOCOL_SSLv23) test/with_dummyserver/test_socketlevel.py: 10 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/with_dummyserver/test_socketlevel.py:451: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl_.SSLContext(ssl_.PROTOCOL_SSLv23) test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_load_keyfile_with_invalid_password[0] test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_load_keyfile_with_invalid_password[1] test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_load_keyfile_with_invalid_password[letmei0] test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_load_keyfile_with_invalid_password[letmei1] /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/with_dummyserver/test_socketlevel.py:464: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl_.SSLContext(ssl_.PROTOCOL_SSLv23) test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_load_invalid_cert_file /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build/test/with_dummyserver/test_socketlevel.py:474: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = ssl_.SSLContext(ssl_.PROTOCOL_SSLv23) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_ssltransport.py::SingleTLSLayerTestCase::test_start_closed_socket - ValueError: check_hostname requires server_hostname = 1 failed, 2372 passed, 283 skipped, 50 deselected, 4 xfailed, 71 warnings in 64.49s (0:01:04) = E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_urllib3/build; python3.14 -m pytest -m 'not requires_network' --deselect test/test_connection.py::TestConnection::test_recent_date --deselect test/test_response.py::TestResponse::test_chunked_decoding_gzip_swallow_garbage --deselect 'test/test_response.py::TestResponse::test_read_chunked_with_trailing_data_does_not_hang[gzip]' dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=2 returned exit code 13 make[1]: *** [debian/rules:32: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:25: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

