diff options
author | Randy Eckenrode <randy@largeandhighquality.com> | 2023-09-04 22:24:46 -0400 |
---|---|---|
committer | Randy Eckenrode <randy@largeandhighquality.com> | 2023-09-07 08:25:41 -0400 |
commit | 422ef0420f6fe2183b9c20084662a2d9090386b5 (patch) | |
tree | 5c736dc7199a085b05557ac9c7e57c67cf497b56 /pkgs/development/python-modules/scipy | |
parent | 7fc80bcd4e5b1a5fb314d08a9a9a054e4ec875bd (diff) |
python3Packages.scipy: disable failing tests on aarch64-darwin
Some tests fail on aarch64-darwin when SciPy is built with a newer compiler (such as clang 16). This is not yet fixed upstream, so disable them until they work again. See https://github.com/scipy/scipy/issues/18308
Diffstat (limited to 'pkgs/development/python-modules/scipy')
-rw-r--r-- | pkgs/development/python-modules/scipy/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index 79d5a6688bb08..7312e53ed4137 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -113,6 +113,17 @@ in buildPythonPackage { pytest-xdist ]; + # The following tests are broken on aarch64-darwin with newer compilers and library versions. + # See https://github.com/scipy/scipy/issues/18308 + disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + "test_a_b_neg_int_after_euler_hypergeometric_transformation" + "test_dst4_definition_ortho" + "test_load_mat4_le" + "hyp2f1_test_case47" + "hyp2f1_test_case3" + "test_uint64_max" + ]; + doCheck = !(stdenv.isx86_64 && stdenv.isDarwin); preConfigure = '' |