From 33139db569d6f61850c4796ec89287c4bdb66378 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/genai/live.py | 2 +- pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/google/genai/live.py b/google/genai/live.py index 139603359..966fa641e 100644 --- a/google/genai/live.py +++ b/google/genai/live.py @@ -1036,7 +1036,7 @@ async def connect( if requests is None: raise ValueError('The requests module is required to refresh google-auth credentials. Please install with `pip install google-auth[requests]`') auth_req = requests.Request() # type: ignore - creds.refresh(auth_req) + creds.refresh(auth_req) # type: ignore[no-untyped-call] bearer_token = creds.token original_headers = self._api_client._http_options.headers diff --git a/pyproject.toml b/pyproject.toml index 8595caa71..a7b428a7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "anyio>=4.8.0, <5.0.0", - "google-auth[requests]>=2.46.0, <3.0.0", + "google-auth[requests]>=2.47.0, <3.0.0", "httpx>=0.28.1, <1.0.0", "pydantic>=2.9.0, <3.0.0", "requests>=2.28.1, <3.0.0", diff --git a/requirements.txt b/requirements.txt index 8109ef1e6..3b7bdb999 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ charset-normalizer==3.4.0 coverage==7.6.9 distro==1.9.0 httpx==0.28.1 -google-auth==2.45.0 +google-auth==2.47.0 idna==3.10 iniconfig==2.0.0 packaging==24.2