python3Packages.pillow-heif: disable tests that abuse spec and break in libheif 1.22.0, disable version check for libheif

(cherry picked from commit 37ff020c2f)
(cherry picked from commit 37bd922bf9ef88c748c37e1080bf458d861d110c)
This commit is contained in:
kuflierl
2026-06-22 08:19:28 +02:00
committed by Vladimír Čunát
parent dc108799c2
commit 96a47e2cd8
@@ -77,6 +77,17 @@ buildPythonPackage rec {
disabledTests = [
# Time sensitive speed test, not reproducible
"test_decode_threads"
# Tests failing with libheif 1.22.0. To be removed in the next release
# https://github.com/bigcat88/pillow_heif/issues/424
# these check what happens when the ispe is not valid
"test_numpy_array_invalid_ispe"
"test_allow_incorrect_headers"
"test_invalid_ispe_ok"
"test_invalid_ispe_allow"
"test_invalid_ispe_stride"
"test_invalid_ispe_stride_pillow"
# disable version check for libheif
"test_libheif_info"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# https://github.com/bigcat88/pillow_heif/issues/89