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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Leon Anavi
2026-09-24 21:56:18 -07:00
committed by Khem Raj
parent 83ed4866d6
commit fb5c40cf69
@@ -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"