-
Notifications
You must be signed in to change notification settings - Fork 89
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
NumPy 2.0 compatibility changes #224
base: master
Are you sure you want to change the base?
Conversation
@jjhelmus it would be great to get these fixes in (perhaps check the complete code base with |
@reneeotten Thanks for the tip, ruff check found one more function name which is removed in NumPy >2.0, this is now pushed. BTW, the code should be still compatible with NumPy 1.26 after this PR, as all these renamed functions were already available in that version. |
Thanks for submitting these changes. Unfortunately, the change from |
Added |
As I suspected, this does break some of the examples that relied on accessing elements from a record array instead of a the new array object. I will try and fix the test data story before attempting to review this again. #87 |
This PR fixes some function names that were deprecated in NumPy 2.0.