Your message dated Mon, 05 Oct 2026 22:06:09 +0000
with message-id <[email protected]>
and subject line Bug#1149756: fixed in python-urllib3 2.8.0-2
has caused the Debian Bug report #1149756,
regarding python-urllib3: FTBFS: E           ValueError: check_hostname 
requires server_hostname
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1149756: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149756
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-urllib3
Source-Version: 2.8.0-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-urllib3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated python-urllib3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 05 Oct 2026 22:43:33 +0100
Source: python-urllib3
Architecture: source
Version: 2.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1149756
Changes:
 python-urllib3 (2.8.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Pass server_hostname in test_start_closed_socket (closes: #1149756).
Checksums-Sha1:
 a59f9b9817330f94769dd806c25c29c4af4d3d18 3045 python-urllib3_2.8.0-2.dsc
 474c2b718628d31cbb479c02d5ac2a67db435c12 39404 
python-urllib3_2.8.0-2.debian.tar.xz
 d29d9b120b6932d08b8d7d64ead5f5ebfe32d5bc 1024624 
python-urllib3_2.8.0-2.git.tar.xz
 6e68155d1e28f82278e548dcf28cae64e704c773 17752 
python-urllib3_2.8.0-2_source.buildinfo
Checksums-Sha256:
 459df6745c56d071f8eb0dc5afa9aaa94382c61c167c02517def63dec59c16fc 3045 
python-urllib3_2.8.0-2.dsc
 946345e6f648ee6c9f6e52f5fd840bda27946ff4d885d0069e89d972cd85135e 39404 
python-urllib3_2.8.0-2.debian.tar.xz
 123acfd807152eec010e3513d169da3b7bbe330661c3dfbd079d6cd0e5a92cb8 1024624 
python-urllib3_2.8.0-2.git.tar.xz
 889c5bd226c5da34703483f84c75920294743697b81cef76ce256de3e44bed64 17752 
python-urllib3_2.8.0-2_source.buildinfo
Files:
 152eb257244e455181d65ddff5267779 3045 python optional 
python-urllib3_2.8.0-2.dsc
 06fdc61045c25f8257aaa0d2aba5dd12 39404 python optional 
python-urllib3_2.8.0-2.debian.tar.xz
 f4e4fff847ee8c6835897b3a2522b815 1024624 python None 
python-urllib3_2.8.0-2.git.tar.xz
 f24e77afb62b6bae2860de2a1f6dac78 17752 python optional 
python-urllib3_2.8.0-2_source.buildinfo
Git-Tag-Info: tag=9aeb9c9511b25abcfbcaeef5588b23e71bffa71c 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrEGzMACgkQYG0ITkaD
wHl1xxAAlKYm7rj2sBN1hs/x7wdghr1azlAQLTl23PXIdipkCI9v13Vo+nZDpRrv
caQuskbgTpEnmPAH/z4+NB2SyoXirtqyYmjsTssbfg2+i9vIuT5iZIbbPG7WIOMo
ibMgSi2q45shFs/+O4iVtQsGqlHkk18XCwUn5vgg2vfpFlQLHDcNRPar20sQa+R/
IMBjdbWwAxEIV/9mkelUv20oUE1KpVjDbtpdqaVTYHrpLZ/+bJsgMrRXI/DICj2q
7cLXBXV7JYsfuP/8t5xG6FmWS1BE0WJ4ICVpQmACxCLSPqYoH7HOHnRnPGNS40t9
pVRa8+ORNH9r+qx+IzQLbzcWe47eKMeKZPn/+qWHvgXyldvQU8q9HOIEdDY6qU4K
pZQ2/LXeMDMTAcQUwkwupuFWjpI9o/n7Qd63ByMQe+BPwfy0PxSJXxQUKHNH5ouL
cpae+OYjmj6iFta6077uWe3/yNDVz72YtNDMBEoBVD6gNBWRvUHThl4sm1jMjWdm
d2NwI5AvB0KP9HwvDwc+tVaTUqIDQqEDXPGCg85oGM+9Uwu8tZilfxdEp9Tflusb
XgW2/E14CLvFyZa6zMqbdklOqsPVr18xCn8tzBLP5wSZxwD7snnz38HAsW6DwEI7
rj3eXYWYL4mW9f6R+U6eBffb2WgsfzbT3C81Aes6RHJVNDYLSYI=
=VLfU
-----END PGP SIGNATURE-----

Attachment: pgpYTKk3zeJEw.pgp
Description: PGP signature


--- End Message ---

Reply via email to