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 37bd922bf9)
This commit is contained in:
kuflierl
2026-05-28 10:48:35 +02:00
committed by Vladimír Čunát
parent dc108799c2
commit 96a47e2cd8

View File

@@ -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