pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-pillow_heif



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Nov 27 10:24:42 UTC 2026

Modified Files:
        pkgsrc/graphics/py-pillow_heif: Makefile distinfo

Log Message:
py-pillow_heif: updated to 1.9.0

1.9.0 - 2026-11-25]

Added

- Pillow plugin: `Image.open()` with a file path reads only the metadata of the file, the rest of it is read when the image is loaded. The whole file was read into memory when opening before.
- `PyPy 3.12` wheels added.

Changed

- Minimum supported `Pillow` version raised to `13.0.0`.
- Dropped `Python 3.10` support.
- `PyPy 3.11` wheels are built for `PyPy 8.0`, `PyPy 7.3` installs build from the sdist.
- Minimum required `libheif` version is `1.23.7`.
- `libheif` was updated from the `1.23.6` to `1.23.7` version.
- A file with a metadata item that cannot be read now opens, the item is skipped; memory errors of `libheif`, including exceeded memory limits, are raised as before.
- HEVC data with an invalid NAL unit size raises `ValueError` instead of `EOFError`.
- Pillow plugin: a file opened by path must stay unchanged on disk until `load()`, when `load()` reads from it, it raises `OSError` if its size or modification time changed in between or it was 
removed after it was closed.
- Pillow plugin: `seek()` after `close()` raises `ValueError`, as with Pillow's own plugins.

Fixed

- Saving a `YCbCr` image emitted the `Pillow` `DeprecationWarning` for `Image.getdata`, deprecated since `Pillow` `12.1.0`.
- Images with a NAL unit larger than 16 MiB, such as big lossless images, could not be read.
- Segmentation fault instead of `MemoryError` when memory ran out while the images of a file were created.
- A preferred decoder ID longer than 63 bytes overflowed a buffer, opening a file raises `ValueError` now.
- A file with an auxiliary image stayed in memory when the type of that image could not be read, e.g. out of memory.
- When memory ran out, reading the color profile, the depth image metadata or the entity groups of a file and saving a file raised `SystemError`, `KeyError` or `RuntimeError`, sometimes later in 
unrelated code, instead of `MemoryError`.
- Pillow plugin: `tell()` and `seek()` of an unpickled image raised `AttributeError`.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/graphics/py-pillow_heif/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/graphics/py-pillow_heif/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-pillow_heif/Makefile
diff -u pkgsrc/graphics/py-pillow_heif/Makefile:1.40 pkgsrc/graphics/py-pillow_heif/Makefile:1.41
--- pkgsrc/graphics/py-pillow_heif/Makefile:1.40        Fri Oct 16 19:43:58 2026
+++ pkgsrc/graphics/py-pillow_heif/Makefile     Fri Nov 27 10:24:42 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2026/10/16 19:43:58 adam Exp $
+# $NetBSD: Makefile,v 1.41 2026/11/27 10:24:42 adam Exp $
 
-DISTNAME=      pillow_heif-1.8.1
+DISTNAME=      pillow_heif-1.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pillow_heif/}
@@ -11,7 +11,7 @@ COMMENT=      Python interface for libheif li
 LICENSE=       gnu-gpl-v2
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-Pillow>=11.1.0:../../graphics/py-Pillow
+DEPENDS+=      ${PYPKGPREFIX}-Pillow>=13.0.0:../../graphics/py-Pillow
 TEST_DEPENDS+= ${PYPKGPREFIX}-defusedxml>=0:../../textproc/py-defusedxml
 
 PYTHON_VERSIONS_INCOMPATIBLE=  311

Index: pkgsrc/graphics/py-pillow_heif/distinfo
diff -u pkgsrc/graphics/py-pillow_heif/distinfo:1.29 pkgsrc/graphics/py-pillow_heif/distinfo:1.30
--- pkgsrc/graphics/py-pillow_heif/distinfo:1.29        Mon Oct 12 13:54:59 2026
+++ pkgsrc/graphics/py-pillow_heif/distinfo     Fri Nov 27 10:24:42 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2026/10/12 13:54:59 wiz Exp $
+$NetBSD: distinfo,v 1.30 2026/11/27 10:24:42 adam Exp $
 
-BLAKE2s (pillow_heif-1.8.1.tar.gz) = 8454e6965308e20d740ed2099895e23ba4e5131c73740bb7ad35e8852d5671b0
-SHA512 (pillow_heif-1.8.1.tar.gz) = 84435282776040c6e53e9fbfdfbc53e33828885f344c7d3b737141a45cb85611976ebc2f4d488c3f19cc2f7ea777cc5102a14878b6c52cb8a13002ce18a68a02
-Size (pillow_heif-1.8.1.tar.gz) = 17395786 bytes
+BLAKE2s (pillow_heif-1.9.0.tar.gz) = 19740e4f8cbb052da431fbe9cb65a41d2ceff2689b6b904ceb5a2ee5d4e3ab99
+SHA512 (pillow_heif-1.9.0.tar.gz) = 0934dc2820a412b745d6eb003a5646888d6861309590d67eb02d6da68f5a4e895f577f0bfe6c725a70f79bef2e5f6d812add8100f8e3f7eefa13d8e089e84aab
+Size (pillow_heif-1.9.0.tar.gz) = 17430038 bytes



Home | Main Index | Thread Index | Old Index