-
-
Notifications
You must be signed in to change notification settings - Fork 587
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
Compatibility with NumPy v2 #4183
Comments
As discussed, can be done after the release of v24.5rc0 with an upper pin on NumPy and that can be then removed after v24.5rc1 or with v24.9 |
@valentinsulzer shall we reopen this one? |
I have PyBaMM compatible with numpy <=2.0.2, but compatibility with 2.1.0 is still in progress. This is likely needed for upgrading to python 3.13 |
Any update on this? I am working within JupyterLite which ships with |
@doelgonzo I actually have a branch working for numpy==2.0.2, but it requires a lot of changes to go much above that. We will likely have to deprecate python 3.9, update Jax, and do a few other changes to get it working. I expect that to be sorted out in a couple months |
In the meantime, you could use |
NumPy version 2.0.0 has been released today – we'll need to fix the failing unit tests. The tests are coming from
autograd
and the authors mention that they don't intend to maintain the dependency anymore so we should aim to remove it altogether, either now or laterThe text was updated successfully, but these errors were encountered: