From daf31ab78a495ef13cc991334cf54718a5e2fbd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 12 Sep 2025 15:40:06 +0200 Subject: [PATCH] Rebuild for blosc2-2.21.2 The tests fail with > raise AvifError('avifEncoderAddImage', res) E imagecodecs.AvifError: avifEncoderAddImage returned 'Encoding of color planes failed' --- python-imagecodecs.spec | 108 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/python-imagecodecs.spec b/python-imagecodecs.spec index 959785c..aec0142 100644 --- a/python-imagecodecs.spec +++ b/python-imagecodecs.spec @@ -133,6 +133,114 @@ TEST_OPTS=( # spng_encode appears to not be available with openjpeg2 disabled, but the test still tries to run --deselect tests/test_imagecodecs.py::test_spng_encode # Other deselected tests seem to be related to unsupported compression types + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out--1]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-None]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-5]" + --deselect "tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]"