-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3Packages.scipy: disable failing tests on aarch64-darwin #253531
Conversation
76dc464
to
352eb09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall! Thanks for the work.
bd68b91
to
be48212
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost perfect!
Adapt the logic from pytestCheckHook to the custom check phase used by scipy. Co-authored-by: Doron Behar <[email protected]>
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 = true
set 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/
)