From fb5c40cf6969d5779217462c18865d4c347b370d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 24 Sep 2026 11:06:43 +0300 Subject: [PATCH] python3-pillow-heif: Upgrade 1.5.0 -> 1.8.0 Upgrade to release 1.8.0: - Reading of entity groups: entity_groups key in info dictionary, tells which images form a stereo pair in spatial photos. - Decoding of embedded thumbnails: HeifImage.get_thumbnail method and draft in the Pillow plugin, Image.thumbnail() uses them instead of decoding the full image. - Minimum required libheif version is 1.23.4. - libheif was updated from the 1.23.3 to 1.23.4 version. - libde265 was updated from the 1.1.2 to 1.1.3 version. - Segmentation fault when opening a file whose metadata item type is not valid UTF-8. - Pillow plugin: load() of a multi-frame image reloaded the frame data on every call, discarding in-place changes and failing after thumbnail(). - A depth image of an item type that libheif cannot decode made the whole file unreadable with libheif 1.23.4, such depth images are now skipped. - Type checkers treated the names imported from pillow_heif as private since the py.typed marker was added in 1.7.0: Pyright/Pylance and mypy --strict reported them as not exported, Pyright/Pylance autocompletion did not offer them. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...ython3-pillow-heif_1.5.0.bb => python3-pillow-heif_1.8.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-multimedia/recipes-devtools/python/{python3-pillow-heif_1.5.0.bb => python3-pillow-heif_1.8.0.bb} (85%) diff --git a/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.5.0.bb b/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.0.bb similarity index 85% rename from meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.5.0.bb rename to meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.0.bb index fe1ae909d5..0a83129d1d 100644 --- a/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.5.0.bb +++ b/meta-multimedia/recipes-devtools/python/python3-pillow-heif_1.8.0.bb @@ -11,7 +11,7 @@ PYPI_PACKAGE = "pillow_heif" inherit pypi python_setuptools_build_meta SRC_URI += "file://0001-setup.py-support-cross-compiling.patch" -SRC_URI[sha256sum] = "16b11a37b762ff42da2d36527bb5cb14bd9194c24c389ee911155d6e23c53065" +SRC_URI[sha256sum] = "e47c27432c6fd3d66c22f0de9f27fd379383b646c947520bc485854ce72060d0" DEPENDS += "libheif python3-wheel-native"