Skip to content

Commit

Permalink
python3Packages.scipy: disable failing tests on aarch64-darwin
Browse files Browse the repository at this point in the history
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 scipy/scipy#18308
  • Loading branch information
reckenrode committed Sep 7, 2023
1 parent 7fc80bc commit 422ef04
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/scipy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 422ef04

Please sign in to comment.