Numpy 2.0 breaks osier #59
Labels
Comp:Build
This issue has to do with the build system of the code/doc (makefiles, cmake, install errors)
Difficulty:1-Beginner
This issue does not require expert knowledge and may be a good issue for new contributors.
Priority:2-Normal
This work is important and should be completed ASAP.
Status:1-New
No one has claimed this issue yet. It is in need of solving.
Type:Bug
Something is wrong or broken. This issue or PR is related to a bug in code.
Milestone
Hi,
When running the tests after installing osier by following the installation instructions, I have the following error:
AttributeError: np.float_ was removed in the NumPy 2.0 release. Use np.float64 instead.
Which can be fixed by installing a pre-2.0 numpy version. I installed 1.26.4 and this seemed to fix the issue.
The definitive solution would be to follow the recommendation of using
np.float64
as suggested by numpy itself.The text was updated successfully, but these errors were encountered: