You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: setup.py
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@
43
43
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1739): Add bounds for urllib3 and packaging dependencies.
44
44
urllib3_extra_require= ["urllib3", "packaging"]
45
45
46
+
rsa_extra_require= ["rsa>=3.1.4,<5"]
47
+
46
48
# Unit test requirements.
47
49
testing_extra_require= [
48
50
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1735): Remove `grpcio` from testing requirements once an extra is added for `grpcio` dependency.
@@ -71,8 +73,7 @@
71
73
# aiohttp < 3.10.0 which is a bug. Investigate and remove the pinned aiohttp version.
72
74
"aiohttp < 3.10.0",
73
75
# rsa library was removed as a dependency, but we still have some code paths that support it
74
-
# TODO: remove dependency when google.auth.crypt._python_rsa is removed
75
-
"rsa>=3.1.4,<5",
76
+
rsa_extra_require,
76
77
]
77
78
78
79
extras= {
@@ -86,6 +87,7 @@
86
87
"requests": requests_extra_require,
87
88
"testing": testing_extra_require,
88
89
"urllib3": urllib3_extra_require,
90
+
"rsa": rsa_extra_require,
89
91
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1735): Add an extra for `grpcio` dependency.
90
92
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1736): Add an extra for `oauth2client` dependency.
0 commit comments