Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion appengine/flexible/scipy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ imageio==2.36.1; python_version >= '3.9'
numpy==2.2.4; python_version > '3.9'
numpy==1.26.4; python_version == '3.9'
numpy==1.24.4; python_version == '3.8'
pillow==10.4.0
pillow==12.2.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. This file explicitly supports Python 3.8 and 3.9 (as seen in the numpy and scipy pins), so pinning to version 12.2.0 without environment markers will break the installation for those versions.

pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

scipy==1.10.1; python_version <= '3.9'
scipy==1.14.1; python_version > '3.9'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Pillow==10.4.0
Pillow==12.2.0
apache-beam[gcp]==2.58.1
rasterio==1.3.10
tensorflow==2.12.0 # Check TensorFlow/CUDA compatibility with Dockerfile: https://www.tensorflow.org/install/source#gpu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Pillow==10.4.0
Pillow==12.2.0
apache-beam[gcp]==2.58.1
rasterio==1.3.10
tensorflow==2.12.0 # Check TensorFlow/CUDA compatibility with Dockerfile: https://www.tensorflow.org/install/source#gpu
2 changes: 1 addition & 1 deletion genai/bounding_box/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
pillow==11.1.0
pillow==12.2.0
2 changes: 1 addition & 1 deletion genai/code_execution/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.60.0
pillow==11.1.0
pillow==12.2.0
2 changes: 1 addition & 1 deletion genai/image_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-genai==1.42.0
pillow==11.1.0
pillow==12.2.0
2 changes: 1 addition & 1 deletion genai/tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-genai==1.45.0
# PIl is required for tools_code_execution_with_txt_img.py
pillow==11.1.0
pillow==12.2.0
4 changes: 2 additions & 2 deletions generative_ai/embeddings/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions (like < '3.8') that are incompatible with Pillow 12, leading to installation failures. While version 10.4.0 (or 9.5.0 for 3.7) is vulnerable to the security issues mentioned in this PR, it is the last version compatible with those Python environments.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.84.0
sentencepiece==0.2.0
google-auth==2.29.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/evaluation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.69.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/extensions/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.69.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/image_generation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.69.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/model_garden/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.69.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/model_tuning/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.69.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/prompts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.74.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
4 changes: 2 additions & 2 deletions generative_ai/reasoning_engine/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pandas==2.2.3; python_version == '3.7'
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'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +4 to +5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

google-cloud-aiplatform[all]==1.69.0
sentencepiece==0.2.0
google-auth==2.38.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pillow==10.3.0
pillow==12.2.0
apache-beam[gcp]==2.55.1
google-cloud-aiplatform==1.47.0
4 changes: 2 additions & 2 deletions vision/snippets/crop_hints/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-vision==3.8.1
pillow==10.3.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +2 to +3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

4 changes: 2 additions & 2 deletions vision/snippets/document_text/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-vision==3.8.1
pillow==10.3.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +2 to +3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'

4 changes: 2 additions & 2 deletions vision/snippets/face_detection/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-vision==3.8.1
pillow==10.3.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8'
pillow==12.2.0; python_version < '3.8'
pillow==12.2.0; python_version >= '3.8'
Comment on lines +2 to +3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Pillow 12.2.0 requires Python 3.10 or later. These environment markers explicitly target Python versions that are incompatible with Pillow 12, leading to installation failures.

pillow==9.5.0; python_version < '3.8'
pillow==10.4.0; python_version >= '3.8' and python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'