You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NumPy 2.0 introduced some breaking changes in APIs, which break code and make tests unable to run. One example is np.obj2sctype(dtype) used in pytensor/tensor/type.py:105, which was removed in NumPy 2.0, thus interfering with test run for tests/link/jax/test_nlinalg.py. I think we need to update the APIs to be compatiable with NumPy 2.0, or pint NumPy to the latest 1.x version for now, NumPy is currently 2.0.0 when creating the environment from environment.yml.
The text was updated successfully, but these errors were encountered:
Description
NumPy 2.0 introduced some breaking changes in APIs, which break code and make tests unable to run. One example is np.obj2sctype(dtype) used in pytensor/tensor/type.py:105, which was removed in NumPy 2.0, thus interfering with test run for tests/link/jax/test_nlinalg.py. I think we need to update the APIs to be compatiable with NumPy 2.0, or pint NumPy to the latest 1.x version for now, NumPy is currently 2.0.0 when creating the environment from
environment.yml
.The text was updated successfully, but these errors were encountered: