[3.5] bpo-36576: Skip test_ssl and test_asyncio tests failing with OpenSSL 1.1.1#12694
[3.5] bpo-36576: Skip test_ssl and test_asyncio tests failing with OpenSSL 1.1.1#12694larryhastings merged 6 commits into
Conversation
|
I wrote a similar change for Fedora Rawhide: https://src.fedoraproject.org/rpms/python35/pull-request/23 Somehow related, I wrote a change to add OpenSSL 1.1.1 support to Python 3.4:
I may also skip failing tests on Python 3.4. |
Sorry, something went wrong.
|
@stratakis asked me to replace "OpenSSL 1.1" with "OpenSSL 1.1.0": done. |
Sorry, something went wrong.
hroncok
left a comment
There was a problem hiding this comment.
Good enough for 3.5.
Sorry, something went wrong.
hroncok
left a comment
There was a problem hiding this comment.
Even better now! Thanks.
Sorry, something went wrong.
|
Oh, the NEWS entry used the old bpo number. I also fixed that. |
Sorry, something went wrong.
…1.1.1 Some test_ssl and test_asyncio are written for OpenSSL 1.0 and TLS 1.0, but fail with OpenSSL 1.1.1 and TLS 1.3. Fixing these needs require to backport new ssl flags like ssl.OP_NO_TLSv1_3 or ssl.OP_NO_COMPRESSION which cannot be done in a minor 3.5.x release. Moreover, it is not really worth it: the code works fine, issues are in the tests.
|
Oh, my PR used IS_OPENSSL_1_1_1 but it didn't exist! I fixed that as well. |
Sorry, something went wrong.
|
@tiran I'm inclined to merge this patch. Do you want to review it before I merge, or should I just go ahead? |
Sorry, something went wrong.
|
FYI Fedora now uses this patch in Python 3.5: https://src.fedoraproject.org/rpms/python35/blob/master/f/00322-test_ssl-skip-openssl111.patch Even if right now, the package is still linked to OpenSSL 1.0: https://src.fedoraproject.org/rpms/python35/blob/master/f/python35.spec#_128 |
Sorry, something went wrong.
|
@larryhastings: Please replace |
Sorry, something went wrong.
|
Thanks for the 3.5 love, Victor! |
Sorry, something went wrong.
Some test_ssl and test_asyncio are written for OpenSSL 1.0 and TLS
1.0, but fail with OpenSSL 1.1.1 and TLS 1.3.
Fixing these needs require to backport new ssl flags like
ssl.OP_NO_TLSv1_3 or ssl.OP_NO_COMPRESSION which cannot be done in a
minor 3.5.x release. Moreover, it is not really worth it: the code
works fine, issues are in the tests.
https://bugs.python.org/issue36576