-
Notifications
You must be signed in to change notification settings - Fork 6.7k
chore(deps): update dependency pillow to v12 [security] #14215
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 @@ | ||
| 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 |
| 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 |
| 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 |
| 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 |
| 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 |
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.84.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.29.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.69.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.69.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.69.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.69.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.69.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.74.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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
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. 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. |
||
| google-cloud-aiplatform[all]==1.69.0 | ||
| sentencepiece==0.2.0 | ||
| google-auth==2.38.0 | ||
|
|
||
| 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 |
| 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
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. 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. |
||
| 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
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. 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. |
||
| 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
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. 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. |
||
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.
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.