Use native Pillow v11.3.0 AVIF format#170
Merged
zerolab merged 3 commits intowagtail:mainfrom Jul 15, 2025
Merged
Conversation
pillow-heif has removed its plugin now that is exists upstream.
zerolab
approved these changes
Jul 4, 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. |
Member
Author
|
@kuflierl you can expect this to land real soon 👍 |
|
Approximately when should i expect a new release? I would guess around September following your current release schedule. |
Member
Author
|
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. |
Member
Author
|
@kuflierl v1.11 has now been released to PyPI: https://pypi.org/project/Willow/1.11.0/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.