spikeinterface icon indicating copy to clipboard operation
spikeinterface copied to clipboard

Support numpy 2.0

Open h-mayorquin opened this issue 8 months ago • 10 comments

We are not able -and it is not probably a good idea- to support numpy 2.0 as soon as possible.

The ecocsystem will take some time to adapt and we should wait some time until most libraries that use and interact with spikeinterface support numpy 2.0 so we don't create problems for them.

We should though start deprecating functions and removing things that are not supported by 2.0 when that is possible. The PR https://github.com/SpikeInterface/spikeinterface/pull/3032 takes some steps in that direction.

One big roadblock is that some libraries used heavily by this package require lower bounds on their versions for supporting numpy 2.0. Here they are:

numba 0.60.0 (with caveats, see) h5py 3.11 hdmf-zarr 0.7.0 scipy release 1.13 pandas 2.2.2

pynwb and hdmf-zarr don't support numpy 2.0 yet. So we can't install them if we install numpy 2.0

We can keep this an open issue discuss how, when and related issues.

h-mayorquin avatar Jun 17 '24 18:06 h-mayorquin