Skip to content

Commit abe8f4a

Browse files
committed
chore(multiple samples): update langchain and google-genai dependencies
This PR fixes - Replaced `langchain-google-vertexai` with `langchain-google-genai==4.2.4; python_version >= "3.10"`. - Replaced `google-vertexai` and older `google-genai` versions with `google-genai==2.7.0; python_version >= "3.10"`. - Updated `langchain-core` to version `1.4.0` and pinned to `python_version >= "3.10"`.
1 parent cbab284 commit abe8f4a

27 files changed

Lines changed: 42 additions & 43 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
google-cloud-bigquery==3.29.0
22
google-cloud-storage==2.19.0
3-
google-genai==1.42.0
3+
google-genai==2.7.0; python_version >= "3.10"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-genai==1.42.0
1+
google-genai==2.7.0; python_version >= "3.10"
22
pillow==11.1.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-genai==1.60.0
1+
google-genai==2.7.0; python_version >= "3.10"
22
pillow==11.1.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai==1.42.0
1+
google-genai==2.7.0; python_version >= "3.10"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai==1.42.0
1+
google-genai==2.7.0; python_version >= "3.10"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-genai==1.42.0
1+
google-genai==2.7.0; python_version >= "3.10"
22
sentencepiece==0.2.1

genai/embeddings/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai==1.42.0
1+
google-genai==2.7.0; python_version >= "3.10"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai==1.42.0
1+
google-genai==2.7.0; python_version >= "3.10"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
google-genai==1.42.0
2-
pillow==11.1.0
1+
google-genai==2.7.0; python_version >= "3.10"

genai/live/requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
google-genai==1.42.0
2-
scipy==1.16.1
3-
websockets==15.0.1
4-
numpy==1.26.4
5-
soundfile==0.12.1
6-
openai==1.99.1
7-
setuptools==80.9.0
8-
pyaudio==0.2.14
9-
librosa==0.11.0
1+
google-genai==2.7.0; python_version >= "3.10"
2+
scipy==1.16.1
3+
websockets==15.0.1
4+
numpy==1.26.4
5+
soundfile==0.12.1
6+
openai==1.99.1
7+
setuptools==80.9.0
8+
pyaudio==0.2.14
9+
librosa==0.11.0
1010
simpleaudio==1.0.0

0 commit comments

Comments
 (0)