From d0a4de1918038acc2ddce88ad464be4cd8b4c4ef Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Mon, 1 Dec 2025 11:56:55 +0100 Subject: [PATCH] python3Packages.scipy: Disable borked tests on ppc64 --- pkgs/development/python-modules/scipy/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index 16ae631686e4..7526dc01c6ba 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -158,6 +158,15 @@ buildPythonPackage { "test_uint64_max" "test_large_m4" # https://github.com/scipy/scipy/issues/22466 ] + ++ lib.optionals (stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isBigEndian) [ + # https://github.com/scipy/scipy/issues/24090 + "test_cython_api" + "test_distance_transform_cdt05" + "test_eval_chebyt_gh20129" + "test_hyp0f1" + "test_hyp0f1_gh5764" + "test_simple_det_shapes_real_complex" + ] ++ lib.optionals (python.isPy311) [ # https://github.com/scipy/scipy/issues/22789 Observed only with Python 3.11 "test_funcs"