PyLops / pylops

PyLops – A Linear-Operator Library for Python
https://pylops.readthedocs.io
GNU Lesser General Public License v3.0
422 stars 101 forks source link

Feature: migrate to numpy v2.0.0 #596

Closed mrava87 closed 1 month ago

mrava87 commented 2 months ago

This PR aims to allow users to use pylops with numpy>=2.0.0.

Currently we need to make the following work-arounds:

mrava87 commented 2 months ago

@cako can you please quickly review this one, so we can make a new release that works with numpy v2

cako commented 1 month ago

@mrava87 Apparently dtcwt has been archived. The new version lives in: https://github.com/xir4n/dtcwt

We might want to support that fork instead.

EDIT: Just saw that the fork is the one being used in PyPI. Nevermind!

mrava87 commented 1 month ago

@mrava87 Apparently dtcwt has been archived. The new version lives in: https://github.com/xir4n/dtcwt

We might want to support that fork instead.

EDIT: Just saw that the fork is the one being used in PyPI. Nevermind!

I saw this... it 'happened' as soon as I opened an Issue about numpy2 (https://github.com/rjw57/dtcwt/issues/149).... now, I cannot reply anymore to this Issue thread and the fork does not have Issues (since it is a fork), so we seem to have lost all ways to communicate. I suggest that we keep this for now, it would not affect people using pylops, and consider ditching dtcwt all together in a few months if the library does not update to support numpy2. What do you think?

cako commented 1 month ago

I don't mind keeping it. If it becomes a pain to maintain, we can remove it in the future.