File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Undeprecated pyOpenSSL third-party module.
Original file line number Diff line number Diff line change 11PyOpenSSL
22=========
3- .. warning ::
4- DEPRECATED: This module is deprecated and will be removed in urllib3 v2.1.0.
5- Read more in this `issue <https://github.com/urllib3/urllib3/issues/2680 >`_.
63
74.. automodule :: urllib3.contrib.pyopenssl
85 :members:
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ filterwarnings = [
8787 " error" ,
8888 ''' default:urllib3 v2.0 only supports OpenSSL 1.1.1+.*''' ,
8989 ''' default:'urllib3\[secure\]' extra is deprecated and will be removed in urllib3 v2\.1\.0.*:DeprecationWarning''' ,
90- ''' default:'urllib3\.contrib\.pyopenssl' module is deprecated and will be removed in urllib3 v2\.1\.0.*:DeprecationWarning''' ,
9190 ''' default:'urllib3\.contrib\.securetransport' module is deprecated and will be removed in urllib3 v2\.1\.0.*:DeprecationWarning''' ,
9291 ''' default:No IPv6 support. Falling back to IPv4:urllib3.exceptions.HTTPWarning''' ,
9392 ''' default:No IPv6 support. skipping:urllib3.exceptions.HTTPWarning''' ,
Original file line number Diff line number Diff line change @@ -54,21 +54,12 @@ class UnsupportedExtension(Exception): # type: ignore[no-redef]
5454import logging
5555import ssl
5656import typing
57- import warnings
5857from io import BytesIO
5958from socket import socket as socket_cls
6059from socket import timeout
6160
6261from .. import util
6362
64- warnings .warn (
65- "'urllib3.contrib.pyopenssl' module is deprecated and will be removed "
66- "in urllib3 v2.1.0. Read more in this issue: "
67- "https://github.com/urllib3/urllib3/issues/2680" ,
68- category = DeprecationWarning ,
69- stacklevel = 2 ,
70- )
71-
7263if typing .TYPE_CHECKING :
7364 from OpenSSL .crypto import X509 # type: ignore[import]
7465
You can’t perform that action at this time.
0 commit comments