fix: upgrade Pillow to 12.x for native AVIF support
All checks were successful
CI / nightly-e2e (pull_request) Has been skipped
CI / deploy (pull_request) Has been skipped
CI / pr-e2e (pull_request) Successful in 1m38s
CI / ci (pull_request) Successful in 2m9s

Pillow 11.0.x did not include native AVIF support — that was added in
11.1.0. The ~=11.0.0 pin restricted upgrades to 11.0.x, so the
libavif-dev system package installed in the Dockerfile was never used
(pip installs pre-compiled wheels that bundle their own libraries).

Bump to Pillow ~=12.1 which ships native AVIF encoding/decoding in its
PyPI wheels out of the box.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Mark
2026-03-02 16:10:26 +00:00
parent 3799d76bed
commit 0818f71566

View File

@@ -2,7 +2,7 @@ Django~=5.2.0
wagtail~=7.0.0 wagtail~=7.0.0
wagtail-seo~=3.1.1 wagtail-seo~=3.1.1
psycopg2-binary~=2.9.0 psycopg2-binary~=2.9.0
Pillow~=11.0.0 Pillow~=12.1
django-taggit~=6.0.0 django-taggit~=6.0.0
whitenoise~=6.0.0 whitenoise~=6.0.0
gunicorn~=23.0.0 gunicorn~=23.0.0