chore(multiple samples): bump pillow to 12.2.0 and restrict to python 3.10+#14251
Merged
iennae merged 3 commits intoJun 5, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the pillow dependency to version 12.2.0 (restricted to Python >= 3.10) across multiple requirements.txt files. The reviewer noted that restricting pillow to Python >= 3.10 without providing a fallback for older Python versions will cause installation and runtime issues on environments running Python 3.8 or 3.9, which are still supported by other dependencies in these files. It is recommended to add a fallback pin (such as pillow==10.4.0; python_version < "3.10") to maintain backward compatibility.
… 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.
92a8c3c to
0b8ee14
Compare
amcolin
requested changes
Jun 4, 2026
iennae
approved these changes
Jun 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pillow==12.2.0).python_version >= "3.10") to resolve compatibility conflicts.Description
Fixes b/517989048
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
nox -s py-3.9(see Test Environment Setup)nox -s lint(see Test Environment Setup)