Describe what maintenance you would like added.
Over in MNE-Python we're now testing against NumPy 2.0 pre-release, and we're getting a bunch of AttributeErrors when importing Pyvista due to deprecated dtype aliases like np.float_ (which should instead be np.float64). Here's a link to the failures in our CIs:
https://github.com/mne-tools/mne-python/actions/runs/7506386773/job/20437722876?pr=12354
Links to source code.
here is one example of where np.float_ occurs:
|
scalars = scalars.astype(np.float_) |
Pseudocode or Screenshots
n/a
Describe what maintenance you would like added.
Over in MNE-Python we're now testing against NumPy 2.0 pre-release, and we're getting a bunch of
AttributeErrors when importing Pyvista due to deprecated dtype aliases likenp.float_(which should instead benp.float64). Here's a link to the failures in our CIs:https://github.com/mne-tools/mne-python/actions/runs/7506386773/job/20437722876?pr=12354
Links to source code.
here is one example of where
np.float_occurs:pyvista/pyvista/plotting/mapper.py
Line 666 in 7636dc7
Pseudocode or Screenshots
n/a