BUG: fix incoming incompatibilities with numpy 2.4#18732
BUG: fix incoming incompatibilities with numpy 2.4#18732neutrinoceros merged 2 commits intoastropy:mainfrom
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
d417ecc to
8b4397c
Compare
7eef886 to
4581f27
Compare
4581f27 to
f887957
Compare
… interpolation kwarg is removed)
f887957 to
7afd06b
Compare
|
This is causing failures against numpy nightlies, which are not yet caught up with the changes I'm adapting to. It might be easier to wait a couple days to validate this in CI directly. |
mhvk
left a comment
There was a problem hiding this comment.
Looks good, thanks! As you say, let's me sure to run the test with new numpy included so we know this is complete.
|
(Of course I did try it locally. It might however turn out incomplete by the time a new nightly happens, if any other breaking change is merged in the interval) |
pllim
left a comment
There was a problem hiding this comment.
I would feel better if we can prove it in devdeps. So I will block merge until that can be done. Thanks!
|
No worries. I didn't mean to suggest otherwise |
|
New nightlies are out. I'm re-running failed jobs manually. |
|
Everything's green, save for codecov, which I think we can ignore. Merging now so allowed-failure jobs have a chance to pass on other PRs. Thanks all ! |
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
(cherry picked from commit 2309a50)
|
manual backport at #18751 |
Backport PR #18732 on branch `v7.1.x` (BUG: fix incoming incompatibilities with numpy 2.4)
|
Thank you! |
Description
this fixes two incompatibilities. While separable, these create failures at import time so they are harder to test in isolation; hence, I bundled them both into a single PR
xrefs:
in1dnumpy/numpy#29978interpolationparameter from quantile/percentile numpy/numpy#29973