Skip to content

Commit 3de784e

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
chore: bump google-genai SDK requirement to >= 2.0.0, < 3.0.0
PiperOrigin-RevId: 914346388
1 parent 657f379 commit 3de784e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
"typing_extensions",
174174
"google-cloud-iam",
175175
"aiohttp", # for ADK users to use aiohttp rather than httpx client
176+
"google-genai >= 2.0.0, < 3.0.0",
176177
]
177178

178179
evaluation_extra_require = [
@@ -196,6 +197,7 @@
196197
"langchain-google-genai >= 4.0.0, < 5.0.0",
197198
"langgraph >= 1.0.0, < 2.0.0",
198199
"openinference-instrumentation-langchain >= 0.1.19, < 0.2",
200+
"google-genai < 2.0.0",
199201
]
200202

201203
langchain_testing_extra_require = list(
@@ -326,7 +328,8 @@
326328
"google-cloud-storage >= 3.10.0, < 4.0.0; python_version>='3.13'",
327329
"google-cloud-bigquery >= 1.15.0, < 4.0.0, !=3.20.0",
328330
"google-cloud-resource-manager >= 1.3.3, < 3.0.0",
329-
"google-genai >= 1.75.0, < 2.0.0",
331+
"google-genai >= 1.37.0, <3.0.0; python_version<'3.10'",
332+
"google-genai >= 1.66.0, <3.0.0; python_version>='3.10'",
330333
)
331334
+ genai_requires,
332335
extras_require={

0 commit comments

Comments
 (0)