Skip to content
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

Update code to be ready for NumPy 2.0 #360

Closed
EwoutH opened this issue May 23, 2024 · 0 comments · Fixed by #361
Closed

Update code to be ready for NumPy 2.0 #360

EwoutH opened this issue May 23, 2024 · 0 comments · Fixed by #361

Comments

@EwoutH
Copy link
Collaborator

EwoutH commented May 23, 2024

Our CI run with pre-release dependencies currently fail: https://github.com/quaquel/EMAworkbench/actions/runs/9154380335/job/25164846180

Which is caused by an update in NumPy 2.0 - which is currently in release-candidate phase.

FAILED test/test_analysis/test_prim.py::PrimBoxTestCase::test_inspect - AttributeError: `np.NaN` was removed in the NumPy 2.0 release. Use `np.nan` instead.. Did you mean: 'nan'?

Looks like a simple case, will look into it soon. We probably want to backport this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant