You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Building with OpenSSL-4.0.0-alpha1 fails with #146207
I can confirm that this patch allows Python3.14.3 to compile against OpenSSL-4.0.0alpha1
Ok cool. Would you mind to now test #146217? Apply the change to Python, build Python and run test_ssl (./python -m test -v test_ssl). Does test_ssl pass on OpenSSL 4.0.0 alpha1 with my change?
I can confirm that this patch allows Python3.14.3 to compile against OpenSSL-4.0.0alpha1
Ok cool. Would you mind to now test #146217? Apply the change to Python, build Python and run test_ssl (./python -m test -v test_ssl). Does test_ssl pass on OpenSSL 4.0.0 alpha1 with my change?
Tested successfully - as attached - needed a minor change to backport the tests to 3.14.3
I merged my PR in the main branch. So you can now use the main branch unmodified to test OpenSSL 4.0.0. alpha1.
test_urllib2_localnet still fails, it will require a separated fix: #146217 (comment)
It was decided to not backport the change to 3.13 and 3.14 since OpenSSL 4 is still an alpha version.
Thanks. Completely understood on the “alpha/beta” stuff. I have done a successful test build of the backported version against OpenSSL 4.0.0-beta1. And will do run testing. I’ll keep tracking OpenSSL’s progress.
Activity
vstinner commentedon Mar 20, 2026
Hi,
It seems like OpenSSL 4.0 removed legacy SSL and TLS protocols. Can you please try this patch?
vstinner commentedon Mar 20, 2026
cc @picnixz
heitbaum commentedon Mar 20, 2026
I can confirm that this patch allows Python3.14.3 to compile against OpenSSL-4.0.0alpha1
pythongh-146207: Add support for OpenSSL-4.0.0-alpha1
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1
vstinner commentedon Mar 20, 2026
Ok cool. Would you mind to now test #146217? Apply the change to Python, build Python and run test_ssl (
./python -m test -v test_ssl). Does test_ssl pass on OpenSSL 4.0.0 alpha1 with my change?heitbaum commentedon Mar 20, 2026
Tested successfully - as attached - needed a minor change to backport the tests to 3.14.3
test.log
gh-146207: Add support for OpenSSL 4.0.0 alpha1 (#146217)
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (pythonGH-146217)
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (pythonGH-146217)
vstinner commentedon Mar 25, 2026
I merged my PR in the main branch. So you can now use the main branch unmodified to test OpenSSL 4.0.0. alpha1.
test_urllib2_localnetstill fails, it will require a separated fix: #146217 (comment)It was decided to not backport the change to 3.13 and 3.14 since OpenSSL 4 is still an alpha version.
heitbaum commentedon Mar 25, 2026
Thanks. Completely understood on the “alpha/beta” stuff. I have done a successful test build of the backported version against OpenSSL 4.0.0-beta1. And will do run testing. I’ll keep tracking OpenSSL’s progress.
ross-alexander commentedon Apr 15, 2026
zware commentedon Apr 15, 2026
vstinner commentedon Apr 16, 2026
See the follow-up issue: issue gh-148600 "Add support for OpenSSL 4.0.0 final".
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (python#146217)
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (python#146217)
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (python#146217)
.zuul: Unbreak the CI on Fedora Rawhide hosts
.zuul: Unbreak the CI on Fedora Rawhide hosts
pythongh-146207: Add support for OpenSSL 4.0.0 alpha1 (python#146217)