Skip to content
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

NumPy 2.0 issues #406

Open
kinnala opened this issue Apr 7, 2024 · 1 comment
Open

NumPy 2.0 issues #406

kinnala opened this issue Apr 7, 2024 · 1 comment

Comments

@kinnala
Copy link

kinnala commented Apr 7, 2024

I was testing some old code against numpy==2.0rc1 and ran into the following issue:

E           AttributeError: `np.deprecate` was removed in the NumPy 2.0 release. Emit `DeprecationWarning` with `warnings.warn` directly, or use `typing.deprecated`.

Seems to be used here: @np.deprecate

There might be other incompabilities that I am unaware of.

@lukeolson
Copy link
Member

Thanks @kinnala. This appears to be the only issues so far. Both ruff and testing pass with this fix: #407. I'll dig a bit to see if other changes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants