diff --git a/packages/google-auth/setup.py b/packages/google-auth/setup.py index 87e7c2502196..ab9119b4c1a7 100644 --- a/packages/google-auth/setup.py +++ b/packages/google-auth/setup.py @@ -19,7 +19,8 @@ from setuptools import setup cryptography_base_require = [ - "cryptography >= 38.0.3", + "cryptography >= 38.0.3; python_version < '3.14'", + "cryptography >= 41.0.5; python_version >= '3.14'", ] DEPENDENCIES = ( diff --git a/packages/google-auth/testing/constraints-3.14.txt b/packages/google-auth/testing/constraints-3.14.txt index e69de29bb2d1..abdcf9de1e42 100644 --- a/packages/google-auth/testing/constraints-3.14.txt +++ b/packages/google-auth/testing/constraints-3.14.txt @@ -0,0 +1,4 @@ +# Lower-bound constraints for Python 3.14 core dependencies. +# Used during CI unit tests to verify minimum supported package versions. +pyasn1-modules==0.2.1 +cryptography==41.0.5