-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: 6 failing tests on RISC-V #26734
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
Comments
Yes, these tests were disabled for RISC-V, and if you use NumPy 2, the failures should just not show up. You shouldn't worry about them; RISC-V doesn't propagate the sign of NaNs as much as other architectures, but in normal code the sign of NaN never matters anyway. It's pretty niche and I am not sure we will have another 1.26 bug-fix release, so going to close, but if anyone asks for it: also happy to backport the PR that disabled these tests on risc-v. EDIT: Not suggesting to update to NumPy 2 just now. It was just released and has some slightly larger changes, so that may or may not be reasonable for you. |
Thanks @seberg! I hadn't found #25280 yet, which seems to solve the other test failures. However, I also just tried to backport that one to 1.26.4, since it's an easy fix, but to my surprise it didn't solve my test failures either. While looking into this a bit more, I found that
From what I could find,
So I was going to ask if it would be possible to stick to |
@bedroge sounds like a plan, would you be up for making a PR? Since none of us will be able to test it anyway. |
Let's start with making a PR to the |
Oh but that was already done in the aforementioned PR. The search only shows two places where |
Ah, OK, misunderstood, I thought there was another follow-up change. So yeah, backporting (if you like), would be just adding those changes to the 1.26.x branch. |
Backported the PRs in #26743. |
Describe the issue:
With version 1.26.4 (installed via EasyBuild) I'm getting six test failures on a StarFive VisionFive 2 (RISC-V):
I'm wondering if this is expected and if they can be safely ignored. I found that
test_fpclass
andtest_fp_noncontiguous
were disabled in the CI (#25246), so I assume those are expected to fail (?), but it looks like the first error should have been solved by #25430. Do you know why it may still be failing for me?Reproduce the code example:
Error message:
Python and NumPy Versions:
NumPy version 1.26.4
3.12.3 (main, May 23 2024, 16:57:47) [GCC 13.3.0]
Runtime Environment:
No response
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: