AttributeError: `np.float_` was removed in the NumPy 2.0 release
Job #1181115 failed for e06bc533:
This error is due to numpy 2.0.0 released yesterday.
ImportError while loading conftest '/scratch/jk7683_gitlab_runner/builds/kit/virtmat-tools/vre-language/tests/conftest.py'.
tests/conftest.py:8: in <module>
from virtmat.language.metamodel.properties import add_properties
/usr/local/lib/python3.10/dist-packages/virtmat/language/metamodel/properties.py:3: in <module>
from virtmat.language.constraints.typechecks import add_type_properties
/usr/local/lib/python3.10/dist-packages/virtmat/language/constraints/typechecks.py:20: in <module>
from virtmat.language.utilities.types import typemap, dtypemap, DType, is_array_type
/usr/local/lib/python3.10/dist-packages/virtmat/language/utilities/types.py:44: in <module>
scalar_realtype = (int, float, numpy.int_, numpy.float_)
/usr/local/lib/python3.10/dist-packages/numpy/__init__.py:397: in __getattr__
raise AttributeError(
E AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.. Did you mean: 'float16'?