-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Fix matrix coercion with numpy 2.1 #38683
Conversation
Is it compatible with numpy 2.0? |
works locally, I see some CI issues though |
Should it be |
OK, I have read the manual and now I understand your patch. |
OK, I see the issue is incompatibility with numpy 1, which is still shipped in sage-the-distro. Let's try default to |
Works locally now with 2.1, 2.0 and 1.26 |
Documentation preview for this PR (built with commit 8e2b65e; changes) is ready! 🎉 |
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.
LGTM
Just come across this. While this fixes the tests, it isn't really correct:
A fix is provided in #39152 . Maybe someone can take a look? |
numpy 2.1 requires a
copy
argument fornumpy.array
. Fixes test failures with numpy 2.1: