-
Notifications
You must be signed in to change notification settings - Fork 13
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
Pin numpy<2.0.0 #178
Pin numpy<2.0.0 #178
Conversation
I think the new error we're seeing is an incompatibility between xESMF and numpy 2.0.0 (maybe):
32-bit ints are not big enough to represent the products of the dimensions, and I wonder if the overflow there is causing it to fail a check somewhere:
The fix for the moment might be to just pin numpy to <2.0.0. |
There are still a few incompatibilities with numpy 2.0.0, so we'll pin the previous version for the moment. In particular, xESMF regridders can't handle large grids with a number of points that overflows a 32-bit integer.
Nice! Ok should we merge this right away and rebase all active PRs back to |
FYI: Previously I tried to add 3.11 to the CI and failed; see #105 |
How odd that it's the only one to hang! |
I'm happy to just remove the 3.11 tbh... |
For some reason it seems to hang indefinitely. We'll just disable it for the moment (3.12 works, anyway).
I guess it's nice that we have type information encoded here now too. This does introduce a bit of an incompatibility in the testing environment, where numpy 2.0.0 is required, but it's not an issue for actual running.Famous last words: it is an issue for running, at the moment. We will probably just have to restrict ourselves to numpy < 2.0.0 for the moment.