From f108b21b61fb1443121bf47ce87301b102129ade Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 29 Jun 2026 12:31:06 +0300 Subject: [PATCH] python3Packages.scipy: skip flaky test --- pkgs/development/python-modules/scipy/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index 785a917fcf0d..52b1b035c20c 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -101,7 +101,12 @@ buildPythonPackage (finalAttrs: { ]; disabledTests = - lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ + [ + # precision issues on at least some x86_64 and aarch64 + # see: https://github.com/scipy/scipy/issues/25488 + "test_nyquist" + ] + ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [ # The following tests are broken on aarch64-darwin with newer compilers and library versions. # See https://github.com/scipy/scipy/issues/18308 "test_a_b_neg_int_after_euler_hypergeometric_transformation"