From 6d5404ddb410536944991ae1c1ccc3da8f52ff8a Mon Sep 17 00:00:00 2001 From: Jeff Scudder Date: Tue, 16 Dec 2025 10:00:44 -0800 Subject: [PATCH] chore: Increase required version of google-auth. PiperOrigin-RevId: 845322533 --- google/cloud/aiplatform/initializer.py | 2 +- setup.py | 2 +- testing/constraints-3.10.txt | 2 +- testing/constraints-3.11.txt | 2 +- testing/constraints-3.12.txt | 2 +- testing/constraints-3.13.txt | 2 +- testing/constraints-3.14.txt | 2 +- testing/constraints-3.9.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/google/cloud/aiplatform/initializer.py b/google/cloud/aiplatform/initializer.py index dbe465ce8f..ab978b4d76 100644 --- a/google/cloud/aiplatform/initializer.py +++ b/google/cloud/aiplatform/initializer.py @@ -722,7 +722,7 @@ def _set_async_rest_credentials(credentials: AsyncCredentials): + "google-auth >= 2.35.0.\n\n" + "Install the following dependencies:\n" + "pip install google-api-core[grpc, async_rest] >= 2.21.0\n" - + "pip install google-auth[aiohttp] >= 2.35.0\n\n" + + "pip install google-auth[aiohttp] >= 2.45.0\n\n" + "Example usage:\n" + "from google.auth.aio.credentials import StaticCredentials\n" + "async_credentials = StaticCredentials(token=YOUR_TOKEN_HERE)\n" diff --git a/setup.py b/setup.py index bd3a7fe965..467dab898a 100644 --- a/setup.py +++ b/setup.py @@ -307,7 +307,7 @@ "google-api-core[grpc] >= 1.34.1," " <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*" ), - "google-auth >= 2.14.1, <3.0.0", + "google-auth >= 2.45.0, <3.0.0", "proto-plus >= 1.22.3, <2.0.0", "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", "packaging >= 14.3", diff --git a/testing/constraints-3.10.txt b/testing/constraints-3.10.txt index b0d6db065b..fe1f31e1f7 100644 --- a/testing/constraints-3.10.txt +++ b/testing/constraints-3.10.txt @@ -2,7 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core==2.21.0 # Tests google-api-core with rest async support -google-auth==2.35.0 # Tests google-auth with rest async support +google-auth==2.45.0 # Tests google-auth with rest async support proto-plus==1.22.3 protobuf mock==4.0.2 diff --git a/testing/constraints-3.11.txt b/testing/constraints-3.11.txt index e3985cbf0c..0cf5698d7e 100644 --- a/testing/constraints-3.11.txt +++ b/testing/constraints-3.11.txt @@ -2,7 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core==2.21.0 # Tests google-api-core with rest async support -google-auth==2.35.0 # Tests google-auth with rest async support +google-auth==2.45.0 # Tests google-auth with rest async support proto-plus protobuf mock==4.0.2 diff --git a/testing/constraints-3.12.txt b/testing/constraints-3.12.txt index 4e251e7962..625dd33a44 100644 --- a/testing/constraints-3.12.txt +++ b/testing/constraints-3.12.txt @@ -2,7 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core==2.21.0 # Tests google-api-core with rest async support -google-auth==2.35.0 # Tests google-auth with rest async support +google-auth==2.45.0 # Tests google-auth with rest async support proto-plus mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper diff --git a/testing/constraints-3.13.txt b/testing/constraints-3.13.txt index e910b2d528..2f5b55e993 100644 --- a/testing/constraints-3.13.txt +++ b/testing/constraints-3.13.txt @@ -2,7 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core==2.21.0 # Tests google-api-core with rest async support -google-auth==2.35.0 # Tests google-auth with rest async support +google-auth==2.45.0 # Tests google-auth with rest async support proto-plus mock==4.0.2 google-cloud-storage==3.0.0 # Updated to v3.x, backward compatible with v2.x via wrapper diff --git a/testing/constraints-3.14.txt b/testing/constraints-3.14.txt index a1fae03754..761fceb1f7 100644 --- a/testing/constraints-3.14.txt +++ b/testing/constraints-3.14.txt @@ -2,7 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core==2.21.0 # Tests google-api-core with rest async support -google-auth==2.35.0 # Tests google-auth with rest async support +google-auth==2.45.0 # Tests google-auth with rest async support proto-plus mock==4.0.2 google-cloud-storage==2.10.0 # Increased for kfp 2.0 compatibility diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index 64404afe71..6988c19d05 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -2,7 +2,7 @@ # This constraints file is required for unit tests. # List all library dependencies and extras in this file. google-api-core==2.21.0 # Tests google-api-core with rest async support -google-auth==2.35.0 # Tests google-auth with rest async support +google-auth==2.45.0 # Tests google-auth with rest async support proto-plus==1.22.3 protobuf mock==4.0.2