-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
import from the new location of normalize_axis_index
if possible
#8483
Conversation
it appears we have an issue with
|
it appears the reason for the failing Does anyone have any ideas how to fix that? Otherwise we'd have to live with our upstream-dev CI failing until compatible wheels appear on |
I doubt these will move before a numpy release candidate. |
I guess that means we have two choices:
where 2 would mean that we'd have to deal with compiling all three packages (plus make sure the |
For 2. the numpy recommendations seems to be to pass |
We could also run two configs: with numpy dev, without hdf,netcdf; and one with latest released numpy and dev netcdf, hdf5. |
we don't install dev |
Works for me, since we know numpy is making major changes. |
it appears the recent commits fix most of the issues we had with the incompatibility, and we're down to ~15 failing tests now. Thus, I'll mark this as ready and I'll have this PR close the current nightly failures issue, since that has been lingering for way too long. Edit: The failing doctest requires another warning ignore in |
I'll note that |
|
Numpy has these odd errors sometimes, I haven't fully figured them out yet. Ignore if rephrasing the code doesn't work either. |
(the point here is compatibility between multiple versions)
Thanks @keewis ! |
Another one of the
numpy=2.0
fixes, this timenumpy.core.multiarray.normalize_axis_index
has been moved tonumpy.lib.array_utils
(and apparently this is the first time it has been officially exposed as public API).Since as far as I remember
numpy
is working on removingnumpy.core
entirely, we might also want to change our usage ofdefchararray
(in the formatting tests). Not sure how, though.