python3Packages.scipy: disable failing tests on aarch64-darwin #253531
python3Packages.scipy: disable failing tests on aarch64-darwin #253531doronbehar merged 2 commits intoNixOS:stagingfrom
Conversation
76dc464 to
352eb09
Compare
doronbehar
left a comment
There was a problem hiding this comment.
Looks great overall! Thanks for the work.
bd68b91 to
be48212
Compare
Adapt the logic from pytestCheckHook to the custom check phase used by scipy. Co-authored-by: Doron Behar <doron.behar@gmail.com>
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
be48212 to
422ef04
Compare
|
Great, and have you tested this on your Darwin machine? |
|
I mean, with the multiline python command we changed there. |
I tested before I did the force-push. It still builds on aarch64-darwin with clang 16 and the tests enabled. |
|
OK I tested your changes as well and they seem fine - I enabled the However, Reading the code once more made me think that in general (both here and in |
|
I just wanted to chime in and say thanks ❤️ because this is just what I needed right now. 🎉 |
Description of changes
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
Testing was delegated to the scipy test suite, which ran on all supported platforms after the change.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)