Skip to content

Commit 9aa9f9d

Browse files
SNOW-896926 missed requests vendoring parts
1 parent d6982c5 commit 9aa9f9d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/snowflake/connector/vendored/requests/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _check_cryptography(cryptography_version):
128128
ssl = None
129129

130130
if not getattr(ssl, "HAS_SNI", False):
131-
from urllib3.contrib import pyopenssl
131+
from ..urllib3.contrib import pyopenssl
132132

133133
pyopenssl.inject_into_urllib3()
134134

@@ -140,7 +140,7 @@ def _check_cryptography(cryptography_version):
140140
pass
141141

142142
# urllib3's DependencyWarnings should be silenced.
143-
from urllib3.exceptions import DependencyWarning
143+
from ..urllib3.exceptions import DependencyWarning
144144

145145
warnings.simplefilter("ignore", DependencyWarning)
146146

src/snowflake/connector/vendored/requests/adapters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
)
5757

5858
try:
59-
from urllib3.contrib.socks import SOCKSProxyManager
59+
from ..urllib3.contrib.socks import SOCKSProxyManager
6060
except ImportError:
6161

6262
def SOCKSProxyManager(*args, **kwargs):

src/snowflake/connector/vendored/requests/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
chardet = None
2222

2323
try:
24-
from urllib3.contrib import pyopenssl
24+
from ..urllib3.contrib import pyopenssl
2525
except ImportError:
2626
pyopenssl = None
2727
OpenSSL = None

0 commit comments

Comments
 (0)