Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/cloud/aiplatform/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,10 +719,10 @@ def _set_async_rest_credentials(credentials: AsyncCredentials):
raise ValueError(
"Async REST transport requires async credentials of type"
+ f"{AsyncCredentials} which is only supported in "
+ "google-auth >= 2.35.0.\n\n"
+ "google-auth == 2.36.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.36.0\n\n"
+ "Example usage:\n"
+ "from google.auth.aio.credentials import StaticCredentials\n"
+ "async_credentials = StaticCredentials(token=YOUR_TOKEN_HERE)\n"
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def prerelease_deps(session):
# Remaining dependencies
other_deps = [
"requests",
"google-auth",
"google-auth==2.36.0",
]
session.install(*other_deps)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.36.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",
Expand Down
Loading