From 6c8f575a247cc174f4b683d1e960eb359b223f54 Mon Sep 17 00:00:00 2001
From: yihong0618 <zouzou0208@gmail.com>
Date: Thu, 14 Dec 2023 13:46:01 +0800
Subject: [PATCH 1/2] fix: lock google-auth version to fix #114

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
---
 setup.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index d1568c981..6cf55b63e 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,6 @@
 import os
 import pathlib
 
-
 import setuptools  # type: ignore
 
 package_root = pathlib.Path(__file__).parent.resolve()
@@ -44,7 +43,7 @@ def get_version():
 
 dependencies = [
     "google-ai-generativelanguage==0.4.0",
-    "google-auth",
+    "google-auth==2.25.2",
     "google-api-core",
     "protobuf",
     "tqdm",

From 469a029fb5f464439a5a437b80038f87ed2efc7b Mon Sep 17 00:00:00 2001
From: Mark McDonald <macd@google.com>
Date: Mon, 8 Jan 2024 17:21:21 +0800
Subject: [PATCH 2/2] fix: corrected version number, added rationale in comment

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 6cf55b63e..f58deefa9 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ def get_version():
 
 dependencies = [
     "google-ai-generativelanguage==0.4.0",
-    "google-auth==2.25.2",
+    "google-auth>=2.15.0",  # 2.15 adds API key auth support
     "google-api-core",
     "protobuf",
     "tqdm",