Source: python-urllib3
Version: 2.7.0-2
Severity: serious
Tags: ftbfs

Lots of tests related to pyopenssl fail, at least some of them are clearly due
to new deprecation warnings:

FAILED
test/contrib/test_pyopenssl.py::TestHTTPS_IPV4SAN::test_can_validate_ip_san -
DeprecationWarning: X509.get_subject is deprecated. You should use
cryptography's X.509 APIs instead.

or new errors that were previously deprecation warnings:

FAILED
test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPSProxyVerification::test_https_proxy_assert_fingerprint_md5_non_matching
- ValueError: Context has already been used to create a Connection, it cannot
be mutated again

Not sure about others:

FAILED
test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPSProxyVerification::test_https_proxy_no_san[http]
- assert ('no appropriate subjectAltName fields were found' in '("bad
handshake: Error([(\'SSL routines\', \'\', \'certificate verify failed\')])",)'
or "Hostname mismatch, certificate is not valid for 'localhost'" in '("bad
handshake: Error([(\'SSL routines\', \'\', \'certificate verify failed\')])",)'
or 'Empty Subject Alternative Name extension' in '("bad handshake:
Error([(\'SSL routines\', \'\', \'certificate verify failed\')])",)')

FAILED
test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPSProxyVerification::test_https_proxy_assert_fingerprint_md5
- urllib3.exceptions.ProxySchemeUnsupported: TLS in TLS requires
SSLContext.wrap_bio() which isn't available on non-native SSLContext




-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), 
(101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.13+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to