-
Notifications
You must be signed in to change notification settings - Fork 685
[ENH] address numpy 2
deprecations
#1764
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
Comments
@fkiraly I tried reproducing this by running all tests locally but did not get any warnings |
@HarshvirSandhu, what is your env? |
@fkiraly I am running the tests on ubuntu on python version 3.11.11 |
Can you please print your env? For instance, you need to use the most recent |
I'm using numpy Version: 2.2.2 |
I mean, please run |
Here's the output of
|
strange, this should result in the warning if you run all the tests. How are you running the tests? |
Running this command |
Current test execution causes these warnings:
Warning: __array_wrap__ must accept context and return_scalar arguments (positionally) in the future. (Deprecated NumPy 2.0)
We should diagnose the source and address the deprecation - noting that code should work under
numpy 1
as well asnumpy 2
.The text was updated successfully, but these errors were encountered: