Skip to content

Commit a99f3bb

Browse files
fix: update urllib3 to >= 2.0.5 (#1389)
* fix: update urllib3 to >= 2.0.5 * update * update sys test cred
1 parent 7039beb commit a99f3bb

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

google/auth/transport/urllib3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def _make_mutual_tls_http(cert, key):
179179
return http
180180

181181

182-
class AuthorizedHttp(urllib3.request.RequestMethods):
182+
class AuthorizedHttp(urllib3._request_methods.RequestMethods): # type: ignore
183183
"""A urllib3 HTTP class with credentials.
184184
185185
This class is used to perform requests to API endpoints that require

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
# rsa==4.5 is the last version to support 2.7
2626
# https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233
2727
"rsa>=3.1.4,<5",
28-
# install enum34 to support 2.7. enum34 only works up to python version 3.3.
29-
"urllib3<2.0",
28+
"urllib3>=2.0.5",
3029
)
3130

3231
extras = {

system_tests/secrets.tar.enc

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)