python3Package.pymatting: disable tests which depend on OpenCL when cudaSupport = true

fixes https://github.com/NixOS/nixpkgs/issues/453297
This commit is contained in:
Adrian Gierakowski
2025-10-18 21:47:57 +02:00
parent 2c6cc13a89
commit 3672ded18f
@@ -52,6 +52,9 @@ buildPythonPackage rec {
"test_lkm"
];
# pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
disabledTestPaths = lib.optional cudaSupport "tests/test_foreground.py";
meta = with lib; {
description = "Python library for alpha matting";
homepage = "https://github.com/pymatting/pymatting";