Skip to content

Update code to be ready for NumPy 2.0  #360

@EwoutH

Description

@EwoutH

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions