Skip to content

Commit

Permalink
fix: update urllib3 to >= 2.0.5 (#1389)
Browse files Browse the repository at this point in the history
* fix: update urllib3 to >= 2.0.5

* update

* update sys test cred
  • Loading branch information
arithmetic1728 authored Sep 26, 2023
1 parent 7039beb commit a99f3bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion google/auth/transport/urllib3.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def _make_mutual_tls_http(cert, key):
return http


class AuthorizedHttp(urllib3.request.RequestMethods):
class AuthorizedHttp(urllib3._request_methods.RequestMethods): # type: ignore
"""A urllib3 HTTP class with credentials.
This class is used to perform requests to API endpoints that require
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
# rsa==4.5 is the last version to support 2.7
# https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233
"rsa>=3.1.4,<5",
# install enum34 to support 2.7. enum34 only works up to python version 3.3.
"urllib3<2.0",
"urllib3>=2.0.5",
)

extras = {
Expand Down
Binary file modified system_tests/secrets.tar.enc
Binary file not shown.

0 comments on commit a99f3bb

Please sign in to comment.