Skip to content

Commit 0b8ee14

Browse files
committed
chore(multiple samples): bump pillow to 12.2.0 and restrict to python 3.10+
- Consolidated multiple pillow entries across requirements files into a single, version-pinned entry (`pillow==12.2.0`). - Restricted execution strictly to Python 3.10 and newer (`python_version >= "3.10"`) to resolve compatibility conflicts.
1 parent 374f547 commit 0b8ee14

19 files changed

Lines changed: 19 additions & 30 deletions

File tree

appengine/flexible/scipy/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ imageio==2.36.1; python_version >= '3.9'
55
numpy==2.2.4; python_version > '3.9'
66
numpy==1.26.4; python_version == '3.9'
77
numpy==1.24.4; python_version == '3.8'
8-
pillow==10.4.0
8+
pillow==12.2.0; python_version >= "3.10"
99
scipy==1.10.1; python_version <= '3.9'
1010
scipy==1.14.1; python_version > '3.9'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pillow==10.4.0
1+
pillow==12.2.0; python_version >= "3.10"
22
apache-beam[gcp]==2.58.1
33
rasterio==1.3.10
44
tensorflow==2.12.0 # Check TensorFlow/CUDA compatibility with Dockerfile: https://www.tensorflow.org/install/source#gpu
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pillow==10.4.0
1+
pillow==12.2.0; python_version >= "3.10"
22
apache-beam[gcp]==2.58.1
33
rasterio==1.3.10
44
tensorflow==2.12.0 # Check TensorFlow/CUDA compatibility with Dockerfile: https://www.tensorflow.org/install/source#gpu
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
google-genai==1.42.0
2-
pillow==11.1.0
2+
pillow==12.2.0; python_version >= "3.10"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
google-genai==1.60.0
2-
pillow==11.1.0
2+
pillow==12.2.0; python_version >= "3.10"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
google-genai==1.42.0
2-
pillow==11.1.0
2+
pillow==12.2.0; python_version >= "3.10"

genai/tools/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
google-genai==1.45.0
22
# PIl is required for tools_code_execution_with_txt_img.py
3-
pillow==11.1.0
3+
pillow==12.2.0; python_version >= "3.10"

generative_ai/embeddings/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
pandas==2.2.3; python_version == '3.7'
22
pandas==2.2.3; python_version == '3.8'
33
pandas==2.2.3; python_version > '3.8'
4-
pillow==10.4.0; python_version < '3.8'
5-
pillow==10.4.0; python_version >= '3.8'
4+
pillow==12.2.0; python_version >= "3.10"
65
google-cloud-aiplatform[all]==1.84.0
76
sentencepiece==0.2.0
87
google-auth==2.29.0

generative_ai/evaluation/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
pandas==2.2.3; python_version == '3.7'
22
pandas==2.2.3; python_version == '3.8'
33
pandas==2.2.3; python_version > '3.8'
4-
pillow==10.4.0; python_version < '3.8'
5-
pillow==10.4.0; python_version >= '3.8'
4+
pillow==12.2.0; python_version >= "3.10"
65
google-cloud-aiplatform[all]==1.69.0
76
sentencepiece==0.2.0
87
google-auth==2.38.0

generative_ai/extensions/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
pandas==2.2.3; python_version == '3.7'
22
pandas==2.2.3; python_version == '3.8'
33
pandas==2.2.3; python_version > '3.8'
4-
pillow==10.4.0; python_version < '3.8'
5-
pillow==10.4.0; python_version >= '3.8'
4+
pillow==12.2.0; python_version >= "3.10"
65
google-cloud-aiplatform[all]==1.69.0
76
sentencepiece==0.2.0
87
google-auth==2.38.0

0 commit comments

Comments
 (0)