Hi Viktor,

Thanks for the report — confirmed and reproduced in an Ubuntu tenacious chroot (python3.14 built against OpenSSL 4.0.3): the build fails exactly as you describe, at tests/wsgi_test.py:604.

The root cause isn't the Python version itself: CPython's _ssl module stops exporting ssl.PROTOCOL_TLSv1_2 when built against OpenSSL >= 4 (OPENSSL_NO_TLS1_2 is defined for OPENSSL_VERSION_NUMBER >= 0x40000000L, since OpenSSL 4 removed the version-specific method functions). Ubuntu tenacious builds its interpreters against OpenSSL 4.0.3, so the constant is gone there, while Debian still ships OpenSSL 3.x — which is why the package builds fine in Debian unstable and why we didn't catch it earlier. CPython fixed that availability detection after 3.15.2 (gh-159387), but our Debian-only patch kept using the constant.

py310_fix1.patch dated from 2022 (bug #1009112); the test it was "fixing" has had its outcome neutralized since 2023, so the patch was purely a liability — upstream eventlet never passed ssl_version there.

Fixed in python-eventlet 0.41.2-5 by dropping the patch. Full suite verified green both on Debian unstable (OpenSSL 3) and in the tenacious chroot (OpenSSL 4): 582 passed, 88 skipped, 0 failed.

Thanks for the clean debdiff, it was applied essentially as-is.

Cheers,

Thomas Goirand (zigo)

Reply via email to