From aaaf902be02747cd2281196aad6278df0fd11f7e Mon Sep 17 00:00:00 2001 From: Ayush Agrawal Date: Wed, 7 Jan 2026 21:08:47 -0800 Subject: [PATCH] chore: bump google-auth lower bound to 2.47.0 in GenAI and Vertex SDKs PiperOrigin-RevId: 853538240 --- 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 ab978b4d76..deea0611b5 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.45.0\n\n" + + "pip install google-auth[aiohttp] >= 2.47.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 31e38cb180..db2b6e4f0f 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.45.0, <3.0.0", + "google-auth >= 2.47.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 fe1f31e1f7..b931b4f348 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.45.0 # Tests google-auth with rest async support +google-auth==2.47.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 0cf5698d7e..205412f0e5 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.45.0 # Tests google-auth with rest async support +google-auth==2.47.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 625dd33a44..35b3def89d 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.45.0 # Tests google-auth with rest async support +google-auth==2.47.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 2f5b55e993..1576c91bbe 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.45.0 # Tests google-auth with rest async support +google-auth==2.47.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 761fceb1f7..1ca6c3a54d 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.45.0 # Tests google-auth with rest async support +google-auth==2.47.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 6988c19d05..63f2d6d147 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.45.0 # Tests google-auth with rest async support +google-auth==2.47.0 # Tests google-auth with rest async support proto-plus==1.22.3 protobuf mock==4.0.2