-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add support for NumPy 2.0 #79
Conversation
This is a change from data-apis#76.
OK, it looks like this is working. This is ready for review. Then I can double check the cupy tests and cut a release. |
Two CI failures:
|
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.
All LGTM, thanks Aaron!
I added a few comments that may be worth checking and tweaking the comments for for future reference. None are blocking though.
numpy-dev-xfails.txt
Outdated
array_api_tests/test_has_names.py::test_has_names[array_attribute-device] | ||
|
||
# linalg tests require https://github.com/data-apis/array-api-tests/pull/101 | ||
# cleanups. Also some tests are using .mT |
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.
ndarray.mT
exists now. not sure if this test still needs skipping, or only this part of the comment needs to be removed?
numpy-dev-xfails.txt
Outdated
|
||
# Array methods and attributes not already on np.ndarray cannot be wrapped | ||
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__] | ||
array_api_tests/test_signatures.py::test_array_method_signature[to_device] |
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.
About to land: numpy/numpy#25233
numpy-dev-xfails.txt
Outdated
array_api_tests/test_linalg.py::test_solve | ||
|
||
# Array methods and attributes not already on np.ndarray cannot be wrapped | ||
array_api_tests/test_signatures.py::test_array_method_signature[__array_namespace__] |
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.
This method exists already for a few weeks, and I just merged what's probably the fix to make this test pass: numpy/numpy#25595
I guess the nightly builds are lagged. Going to just merge this now to avoid further delay. |
Fixes #77