-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
numpy 2 test workflow failures #4309
Comments
Seems that one of the runs of the numpy2 workflow passed recently on main: https://github.com/nilearn/nilearn/actions/runs/8168896123 Rerunning some of the failed ones to see... |
It still fails from time to time. |
It mostly fails though. Will try to see what combination of versions of our "bleeing-edge" dependencies makes those tests fail. Also realised that the workflow is set to run in scheduled manner on main, but not with push on main (not a big problem) but it is weird that all the other tests are run when merging a PR on main but not those... |
When I last checked, it seemed like the failures had migrated and were not specifically on the two tests linked in the top comment. As of three days ago, it now looks like this:
The explanations I've found online suggest that this is because the module pandas is build on different version of numpy. It looks like this is something pandas is already tracking and it's just a matter of syncing up the releases. EDIT: And in case we want to track it, here's the current numpy 2.0 timelines. |
Thanks for tracking this @emdupre !!! Will update the top message. |
I would suggest reverting the systematic numpy2 checks on every PR because this is adding noise to our review process (in most cases the failures are unrelated to the PR). This workflow was run on every PR because not all members of the dev team were notified in case of failures. I would suggest something I have seen in another repo (can't find it at the moment):
|
Sounds good. |
See here:https://github.com/nilearn/nilearn/actions/runs/8137823574/job/22237131770?pr=4306#step:6:5109seem to be a more of a pandas 3.0FAILED nilearn/datasets/tests/test_func.py::test_fetch_surf_nki_enhancedFAILED nilearn/plotting/tests/test_matrix_plotting.py::test_show_event_plotErrors:("'DataFrame' object has no attribute '_mgr'")ValueError: Unable to avoid copy while creating an array from given array.See below for an update
The text was updated successfully, but these errors were encountered: