chore(deps): update dependency pillow to v12#14183
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the pillow dependency to version 12.2.0 across multiple requirements.txt files. The reviewer identified that this version of pillow requires Python 3.10 or higher, and the current environment markers in the files are outdated, which would cause installation failures for Python 3.8 and 3.9. The reviewer provided specific code suggestions to update the environment markers to ensure compatibility.
| numpy==1.26.4; python_version == '3.9' | ||
| numpy==1.24.4; python_version == '3.8' | ||
| pillow==10.4.0 | ||
| pillow==12.2.0 |
There was a problem hiding this comment.
Pillow 12.0.0 dropped support for Python 3.9 and below. This requirements file explicitly supports Python 3.8 and 3.9 (as seen in lines 6, 7, and 9), so an unconditional bump to 12.2.0 will break installation for those environments. Use environment markers to maintain compatibility.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| @@ -1,4 +1,4 @@ | |||
| Pillow==10.4.0 | |||
| Pillow==12.2.0 | |||
There was a problem hiding this comment.
| @@ -1,4 +1,4 @@ | |||
| Pillow==10.4.0 | |||
| Pillow==12.2.0 | |||
There was a problem hiding this comment.
| pillow==12.2.0; python_version < '3.8' | ||
| pillow==12.2.0; python_version >= '3.8' |
There was a problem hiding this comment.
| pillow==12.2.0; python_version < '3.8' | ||
| pillow==12.2.0; python_version >= '3.8' |
There was a problem hiding this comment.
| pillow==12.2.0; python_version < '3.8' | ||
| pillow==12.2.0; python_version >= '3.8' |
There was a problem hiding this comment.
| @@ -1,3 +1,3 @@ | |||
| pillow==10.3.0 | |||
| pillow==12.2.0 | |||
There was a problem hiding this comment.
| pillow==12.2.0; python_version < '3.8' | ||
| pillow==12.2.0; python_version >= '3.8' |
There was a problem hiding this comment.
| pillow==12.2.0; python_version < '3.8' | ||
| pillow==12.2.0; python_version >= '3.8' |
There was a problem hiding this comment.
| pillow==12.2.0; python_version < '3.8' | ||
| pillow==12.2.0; python_version >= '3.8' |
There was a problem hiding this comment.
This PR contains the following updates:
==10.4.0→==12.2.0==10.4.0→==12.2.0==10.3.0→==12.2.0==11.1.0→==12.2.0Release Notes
python-pillow/Pillow (Pillow)
v12.2.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/12.2.0.html
Documentation
Dependencies
Testing
macos-15-inteltomacos-26-intel#9454 [@hugovk]Other changes
_getxyrefcount leaks #9487 [@hugovk]setimage()by always passing extents #9395 [@radarhere]self.decodetypo #9445 [@bysiber]v12.1.1Compare Source
v12.1.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/12.1.0.html
Deprecations
Documentation
Dependencies
Testing
ResourceWarnings inselftest.py#9332 [@hugovk]Type hints
Other changes
v12.0.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/12.0.0.html
Removals
Deprecations
Documentation
Dependencies
Testing
Type hints
Other changes
v11.3.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/11.3.0.html
Deprecations
Documentation
Makefile#8933 [@hugovk]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.