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
This commit is contained in:
Randy Eckenrode 2023-09-04 22:24:46 -04:00
parent 7fc80bcd4e
commit 422ef0420f
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -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 = ''