python3Package.pymatting: disable tests which depend on OpenCL when cudaSupport = true (#453306)

This commit is contained in:
Connor Baker
2025-10-20 13:35:17 +00:00
committed by GitHub
@@ -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";