pybamm-team / PyBaMM

Fast and flexible physics-based battery models in Python
https://www.pybamm.org/
BSD 3-Clause "New" or "Revised" License
876 stars 492 forks source link

Compatibility with NumPy v2 #4183

Open agriyakhetarpal opened 2 weeks ago

agriyakhetarpal commented 2 weeks ago

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 later

agriyakhetarpal commented 2 weeks ago

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

brosaplanella commented 2 weeks ago

@valentinsulzer shall we reopen this one?