$ ruff --preview --select NPY201
modelskill/utils.py:144:27: NPY201 [*] `np.NaN` will be removed in NumPy 2.0. Use `numpy.nan` instead.
Found 1 error.
[*] 1 fixable with the `--fix` option.
Seems like we are well prepared for this upcoming release.
The tentative release date for the first release candidate of NumPy 2.0 is around 1 Feb 2024, and the final release 6-8 weeks later.https://github.com/numpy/numpy/issues/24300
Seems like we are well prepared for this upcoming release.
The tentative release date for the first release candidate of NumPy 2.0 is around 1 Feb 2024, and the final release 6-8 weeks later. https://github.com/numpy/numpy/issues/24300