Skip to content

Commit 98bfd62

Browse files
committed
fix rsa issue
1 parent e9ca4c4 commit 98bfd62

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/google-auth/setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@
4343
"packaging >= 20.0",
4444
]
4545

46-
rsa_extra_require = ["rsa>=3.1.4,<5"]
46+
rsa_extra_require = [
47+
"rsa>=3.1.4,<5; python_version < '3.11'",
48+
"rsa>=4.0,<5; python_version >= '3.11'",
49+
]
4750

4851
grpc_extra_require = [
4952
"grpcio >= 1.59.0, < 2.0.0; python_version < '3.14'",

0 commit comments

Comments
 (0)