From 5b3c6f55f1fd15cf6e22538e8a5973a03fa81078 Mon Sep 17 00:00:00 2001 From: ohmayr Date: Tue, 7 Jul 2026 18:21:04 +0000 Subject: [PATCH] fix(google-auth): add cryptography bound for Python 3.14 --- packages/google-auth/setup.py | 3 ++- packages/google-auth/testing/constraints-3.14.txt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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