From 0818f7156658c54c028e9ede9b252e43bc7cc865 Mon Sep 17 00:00:00 2001 From: Mark <162816078+markashton480@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:10:26 +0000 Subject: [PATCH] fix: upgrade Pillow to 12.x for native AVIF support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- requirements/base.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/base.txt b/requirements/base.txt index 9015b0d..472cf9a 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -2,7 +2,7 @@ Django~=5.2.0 wagtail~=7.0.0 wagtail-seo~=3.1.1 psycopg2-binary~=2.9.0 -Pillow~=11.0.0 +Pillow~=12.1 django-taggit~=6.0.0 whitenoise~=6.0.0 gunicorn~=23.0.0 -- 2.49.1