File urllib3-v2-migration.patch of Package python-proton-client

diff --git a/proton/cert_pinning.py b/proton/cert_pinning.py
index e39298b..29aa048 100644
--- a/proton/cert_pinning.py
+++ b/proton/cert_pinning.py
@@ -18,7 +18,6 @@ class TLSPinningHTTPSConnectionPool(HTTPSConnectionPool):
         host,
         hash_dict,
         port=None,
-        strict=False,
         timeout=Timeout.DEFAULT_TIMEOUT,
         maxsize=1,
         block=False,
@@ -44,7 +43,6 @@ class TLSPinningHTTPSConnectionPool(HTTPSConnectionPool):
             super(TLSPinningHTTPSConnectionPool, self).__init__(
                 host,
                 port,
-                strict,
                 timeout,
                 maxsize,
                 block,
@@ -67,7 +65,6 @@ class TLSPinningHTTPSConnectionPool(HTTPSConnectionPool):
             super(TLSPinningHTTPSConnectionPool, self).__init__(
                 host,
                 port,
-                strict,
                 timeout,
                 maxsize,
                 block,
@@ -181,5 +178,5 @@ class TLSPinningAdapter(HTTPAdapter):
     ):
         self.poolmanager = TLSPinningPoolManager(
             num_pools=connections, maxsize=maxsize, block=block,
-            strict=True, hash_dict=self.hash_dict, **pool_kwargs
+            hash_dict=self.hash_dict, **pool_kwargs
         )
openSUSE Build Service is sponsored by