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

This commit is contained in:
kuflierl
2026-05-29 12:38:46 +02:00
parent fd4f373715
commit 37ff020c2f
@@ -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