-
Notifications
You must be signed in to change notification settings - Fork 6.7k
chore(multiple samples): update langchain and google-genai dependencies #14258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| google-cloud-aiplatform==1.57.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| google-cloud-dataflow-client==0.8.14 | ||
| google-cloud-storage==2.10.0 | ||
| pytest==9.0.3 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-cloud-aiplatform[all]==1.64.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| protobuf==5.29.5 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| google-cloud-bigquery==3.29.0 | ||
| google-cloud-storage==2.19.0 | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| pillow==11.1.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-genai==1.60.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| pillow==11.1.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| sentencepiece==0.2.1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| google-genai==1.42.0 | ||
| pillow==11.1.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| google-genai==1.42.0 | ||
| scipy==1.16.1 | ||
| websockets==15.0.1 | ||
| numpy==1.26.4 | ||
| soundfile==0.12.1 | ||
| openai==1.99.1 | ||
| setuptools==80.9.0 | ||
| pyaudio==0.2.14 | ||
| librosa==0.11.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| scipy==1.16.1 | ||
| websockets==15.0.1 | ||
| numpy==1.26.4 | ||
| soundfile==0.12.1 | ||
| openai==1.99.1 | ||
| setuptools==80.9.0 | ||
| pyaudio==0.2.14 | ||
| librosa==0.11.0 | ||
| simpleaudio==1.0.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.42.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| google-genai==1.45.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| # PIl is required for tools_code_execution_with_txt_img.py | ||
| pillow==11.1.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.47.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.43.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,12 +3,12 @@ pandas==2.2.3; python_version == '3.8' | |
| pandas==2.2.3; python_version > '3.8' | ||
| pillow==10.4.0; python_version < '3.8' | ||
| pillow==10.4.0; python_version >= '3.8' | ||
| google-cloud-aiplatform[all]==1.69.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replacing |
||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
| anthropic[vertex]==0.28.0 | ||
| langchain-core==0.2.33 | ||
| langchain-google-vertexai==1.0.10 | ||
| langchain-core==1.4.0; python_version >= "3.10" | ||
| langchain-google-genai==4.2.4; python_version >= "3.10" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| numpy<3 | ||
| openai==1.68.2 | ||
| immutabledict==4.2.0 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| google-auth==2.38.0 | ||
| openai==1.68.2 | ||
| google-cloud-aiplatform==1.86.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-cloud-aiplatform==1.133.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| google-cloud-aiplatform==1.82.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| google-auth==2.38.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-cloud-aiplatform==1.87.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replacing |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-genai==1.7.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| google-cloud-aiplatform[all]==1.103.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replacing |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| earthengine-api==1.5.9 | ||
| folium==0.19.5 | ||
| google-cloud-aiplatform==1.47.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
| pandas==2.2.3 | ||
| tensorflow==2.12.0 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| pillow==10.3.0 | ||
| apache-beam[gcp]==2.55.1 | ||
| google-cloud-aiplatform==1.47.0 | ||
| google-genai==2.7.0; python_version >= "3.10" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replacing |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| ../../serving/weather-model | ||
| build==0.10.0 | ||
| google-cloud-aiplatform==1.47.0 | ||
| google-genai==2.7.0; python_version >= "3.10" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| google-cloud-translate==3.18.0 | ||
| google-cloud-storage==2.9.0 | ||
| google-cloud-automl==2.14.1 | ||
| google-cloud-aiplatform[vertexai] | ||
| google-genai==2.7.0; python_version >= "3.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replacing
google-cloud-aiplatformwithgoogle-genaiwill break this sample. The code ingemma2/gemma2_predict_gpu.pyimportsgoogle.cloud.aiplatform(line 27) and usesaiplatform.gapic.PredictionServiceClient(line 51). The newgoogle-genaiSDK is a completely different package and does not provide thegoogle.cloud.aiplatformnamespace. Please keepgoogle-cloud-aiplatformas a dependency.