-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Milestone
Description
The SecureTransport implementation was added to support OpenSSL versions that didn't support TLS 1.2 and later on macOS. Python on macOS has been improved greatly over time that we're now in a place to force OpenSSL 1.1.1+ in Python and urllib3.
Now that there's little upside to using SecureTransport it's hard to justify the maintenance burden.
My proposal for now is:
- Create documentation for SecureTransport's deprecation in the docs. We'll be targetting a "future 2.x release" with the actual removal.
- Begin unconditionally emitting a
DeprecationWarning
whenurllib3.contrib.securetransport.inject_into_urllib3
is called and point to the documentation. - Find projects using
urllib3.contrib.securetransport
and help them remove support.
In a future 2.x version:
- Make the
inject_into_urllib3
function raise an exception with a URL to the documentation.
In a version after that:
- Remove the
inject_into_urllib3
function andurllib3.contrib.securetransport
contrib module.
Metadata
Metadata
Assignees
Labels
No labels