Skip to content

Use native Pillow v11.3.0 AVIF format#170

Merged
zerolab merged 3 commits intowagtail:mainfrom
Stormheg:fix/pillow-11.3-avif-support
Jul 15, 2025
Merged

Use native Pillow v11.3.0 AVIF format#170
zerolab merged 3 commits intowagtail:mainfrom
Stormheg:fix/pillow-11.3-avif-support

Conversation

@Stormheg
Copy link
Member

@Stormheg Stormheg commented Jul 3, 2025

Supersedes #167

Pillow 11.3.0 does ship with AVIF support libraries included in the wheels at a reasonable file size - building from source is not required anymore.

This allows us to adopt this method, meaning we no longer have to rely on the deprecated support in pillow-heif. As a result that library's version can be unpinned 🎉

IMPORTANT: as a consequence, we do have to raise the minimum version of Pillow. I believe this is fine as only the latest Pillow versions are officially supported.

@kuflierl
Copy link

kuflierl commented Jul 15, 2025

I would love seeing this merged. As the maintainer for libheif for nixpkgs i would like to upgrade it to 1.20. This causes breakage for pillow-heif. Pillow heif does work if upgraded to 1.0.0 and patched (NixOS/nixpkgs#424448). But Willow seems to only support pillow 0.22 at the moment.

@Stormheg
Copy link
Member Author

@kuflierl you can expect this to land real soon 👍

@zerolab zerolab merged commit 8d2c2a6 into wagtail:main Jul 15, 2025
7 checks passed
@Stormheg Stormheg deleted the fix/pillow-11.3-avif-support branch July 15, 2025 12:26
@kuflierl
Copy link

Approximately when should i expect a new release? I would guess around September following your current release schedule.

@Stormheg
Copy link
Member Author

Stormheg commented Jul 15, 2025

I am planning to make a release tomorrow.

Willow doesn't follow Wagtail's release schedule, so any fixes necessary (like this one) can be released out of band.

@Stormheg
Copy link
Member Author

@kuflierl v1.11 has now been released to PyPI: https://pypi.org/project/Willow/1.11.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants