Compatibility with Numpy v2.4#425
Conversation
avalentino
commented
Mar 21, 2026
- Do not use the deprecated numpy.in1d
GenevieveBuckley
left a comment
There was a problem hiding this comment.
Well spotted! I approve this PR.
It looks like this is the only instance of np.in1d in our codebase, but if anyone else does spot any other deprecated numpy functions, we welcome pull requests.
|
I do see "[WIP]" (work in progress) in the PR title, but I'm assuming that this is ready to go now. The PR is not marked as a draft, and the CI tests have all passed, this seems good to me. |
|
Thank you @avalentino! |
|
Actually there are 4 more tests failing when I run the test suite against numpy 2.4. The full log is at: https://ci.debian.net/packages/d/dask-image/unstable/amd64/69506502/ Pease find below the relevant part: |
|
Separate PRs is totally fine, however you want to group them. |
|
Thanks @GenevieveBuckley |