chore(deps): update dependency pillow to v12#14250
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Pillow dependency to version 12.2.0 across various requirements.txt files. However, because Pillow 12.0.0 dropped support for Python 3.9 and earlier, pinning it unconditionally will cause installation failures in environments supporting older Python versions. The feedback recommends using environment markers to fall back to Pillow 10.4.0 for Python versions below 3.10.
| 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 earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 unconditionally will cause installation failures on those Python versions. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
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.
Pillow 12.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning Pillow==12.2.0 unconditionally will cause installation failures on those Python versions. Use environment markers to fall back to Pillow==10.4.0 for Python < 3.10.
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.
Pillow 12.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning Pillow==12.2.0 unconditionally will cause installation failures on those Python versions. Use environment markers to fall back to Pillow==10.4.0 for Python < 3.10.
Pillow==10.4.0; python_version < '3.10'
Pillow==12.2.0; python_version >= '3.10'
| 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.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 for all Python versions will cause installation failures on Python < 3.10. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| 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.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 for all Python versions will cause installation failures on Python < 3.10. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| 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.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 for all Python versions will cause installation failures on Python < 3.10. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| @@ -1,3 +1,3 @@ | |||
| pillow==10.3.0 | |||
| pillow==12.2.0 | |||
There was a problem hiding this comment.
Pillow 12.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 unconditionally will cause installation failures on those Python versions. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| 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.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 for all Python versions will cause installation failures on Python < 3.10. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| 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.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 for all Python versions will cause installation failures on Python < 3.10. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
| 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.0.0 dropped support for Python 3.9 and earlier. Since this environment supports Python versions below 3.10, pinning pillow==12.2.0 for all Python versions will cause installation failures on Python < 3.10. Use environment markers to fall back to pillow==10.4.0 for Python < 3.10.
pillow==10.4.0; python_version < '3.10'
pillow==12.2.0; python_version >= '3.10'
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.