diff --git a/google/cloud/aiplatform/initializer.py b/google/cloud/aiplatform/initializer.py index d9d360d1bb..64f9c13c20 100644 --- a/google/cloud/aiplatform/initializer.py +++ b/google/cloud/aiplatform/initializer.py @@ -718,7 +718,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.47.0\n\n" + + "pip install google-auth[aiohttp] >= 2.53.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 65be53bae9..949458443d 100644 --- a/setup.py +++ b/setup.py @@ -318,7 +318,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.47.0, <3.0.0", + "google-auth >= 2.53.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 bae8a3dbaf..62e8ed3896 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.49.0 +google-auth==2.53.0 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 e7110ef6bb..69e58fdfcf 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.49.0 +google-auth==2.53.0 proto-plus protobuf mock==4.0.2 diff --git a/testing/constraints-3.12.txt b/testing/constraints-3.12.txt index b35278dc6e..53a0f89398 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.49.0 +google-auth==2.53.0 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 09308e2cbb..6032c5ac2d 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.27.0 # Tests google-api-core with rest async support -google-auth==2.49.0 +google-auth==2.53.0 proto-plus mock==4.0.2 google-cloud-storage==3.10.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 66f1c92acc..1b7b59fe95 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.27.0 -google-auth==2.49.0 +google-auth==2.53.0 proto-plus mock==4.0.2 google-cloud-storage==3.10.0 # Updated for Python 3.14 compatibility diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index 63f2d6d147..29ffe3aa60 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.47.0 # Tests google-auth with rest async support +google-auth==2.53.0 # Tests google-auth with rest async support proto-plus==1.22.3 protobuf mock==4.0.2