diff --git a/nix/python-overrides.nix b/nix/python-overrides.nix index 5254934..2c2de30 100644 --- a/nix/python-overrides.nix +++ b/nix/python-overrides.nix @@ -429,6 +429,13 @@ lib.optionalAttrs useCuda { }); } +# Disable filterpy tests on Darwin (test_hinfinity triggers BPT trap in pytest) +// lib.optionalAttrs (prev ? filterpy) { + filterpy = prev.filterpy.overridePythonAttrs (old: { + doCheck = if pkgs.stdenv.isDarwin then false else (old.doCheck or true); + }); +} + # Fix bitsandbytes build - needs ninja for wheel building phase // lib.optionalAttrs (prev ? bitsandbytes) { bitsandbytes = prev.bitsandbytes.overridePythonAttrs (old: {