From 1a4ef401ca228bea0f369e582d8edfd5f99d208f Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Tue, 6 Jan 2026 15:40:18 -0800 Subject: [PATCH 1/3] fix: allow recent google-auth versions --- setup.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index 1ab8197..ce92e66 100644 --- a/setup.py +++ b/setup.py @@ -20,12 +20,12 @@ TOOL_DEPENDENCIES = "click>=6.0.0" -# TODO(https://github.com/googleapis/google-auth-library-python-oauthlib/issues/422): google-auth 2.42.0 -# introduces a change that isn't compatible with -# google-auth-oauthlib. -# Specifically https://github.com/googleapis/google-auth-library-python/commit/36ecb1d65883477d27faf9c2281fc289659b9903 -# which results in the unit tests to fail. Remove the upper bound once the issue is resolved. -DEPENDENCIES = ("google-auth>=2.15.0,<2.42.0", "requests-oauthlib>=0.7.0") +DEPENDENCIES = ( + # exclude versions of google-auth with an incompaible change: + # https://github.com/googleapis/google-auth-library-python-oauthlib/issues/422 + "google-auth>=2.15.0,<3.0.0,!=2.43.0,!=2.44.0,!=2.45.0", + "requests-oauthlib>=0.7.0" +) with io.open("README.rst", "r") as fh: From d107a2a3545c15633d18ffebb4e5ff1b1cec2f0f Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Tue, 6 Jan 2026 15:43:08 -0800 Subject: [PATCH 2/3] Update setup.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ce92e66..2bd09f7 100644 --- a/setup.py +++ b/setup.py @@ -21,8 +21,8 @@ TOOL_DEPENDENCIES = "click>=6.0.0" DEPENDENCIES = ( - # exclude versions of google-auth with an incompaible change: - # https://github.com/googleapis/google-auth-library-python-oauthlib/issues/422 + # Exclude google-auth 2.43.0, 2.44.0, 2.45.0 due to an incompatibility. + # See: https://github.com/googleapis/google-auth-library-python-oauthlib/issues/422 "google-auth>=2.15.0,<3.0.0,!=2.43.0,!=2.44.0,!=2.45.0", "requests-oauthlib>=0.7.0" ) From a2d7bedf44502c48a5af10d600fc6b3e3a12c1d9 Mon Sep 17 00:00:00 2001 From: Daniel Sanche Date: Tue, 6 Jan 2026 15:43:56 -0800 Subject: [PATCH 3/3] fixed lint --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2bd09f7..22e50ac 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ # Exclude google-auth 2.43.0, 2.44.0, 2.45.0 due to an incompatibility. # See: https://github.com/googleapis/google-auth-library-python-oauthlib/issues/422 "google-auth>=2.15.0,<3.0.0,!=2.43.0,!=2.44.0,!=2.45.0", - "requests-oauthlib>=0.7.0" + "requests-oauthlib>=0.7.0", )