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
Support for numpy 2.0 #1026
Support for numpy 2.0 #1026
Conversation
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.
Thanks for your work. I like it to have a consistend import structure of numpy.
One small rework, while you are at it.
661edb2
to
ce17d2d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1026 +/- ##
=======================================
Coverage 58.14% 58.14%
=======================================
Files 258 258
Lines 17872 17872
=======================================
Hits 10392 10392
Misses 7480 7480
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ce17d2d
to
6490817
Compare
6490817
to
fb91774
Compare
Regarding the code coverage check failing, don't worry, as that is a known bug in #1090 |
I think we are fully compatible with numpy 2.0.
|
As that is a nice version number, we can make pandas 1.0.0 the minimum requirement (contrary what I wrote in the issue). |
cf6ea8c
to
0a94903
Compare
I think that when this is aproved and merged we should consider not waiting too long with a new release. |
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.
A few comments.
Thanks for tackling this issue!
@CasperSchippers , would you mind merging in master in order to check, whether the codecov will work? Thanks! |
0a94903
to
507ba10
Compare
Good job, it seems to be working now! My test doesn't anymore though 😞 |
It looks good to me. Thanks for your work! |
Numpy 2.0 will soon (few months) be released with some (minor) breaking changes.
This PR fixes the things that break between numpy 1.x and 2.x (while keeping it compatible with both, assuming this is possible).
Also, I've tried standardizing the numpy imports a bit, such that all numpy imports in the repo read
import numpy as np
.