zarr-developers / numcodecs

A Python package providing buffer compression and transformation codecs for use in data storage and communication applications.
http://numcodecs.readthedocs.io
MIT License
121 stars 82 forks source link

Add numpy 2.0 compatibility #535

Closed dstansby closed 2 weeks ago

dstansby commented 2 weeks ago

Fixes https://github.com/zarr-developers/numcodecs/issues/521.

Currently the solution is to just test without zfpy support, which is easy to implement. In an ideaL world I guess we want to run at least one test with zfpy and numpy<2? I won't have time to implement that in the next few days, so someone else feel free to take over and do that if desirable.

dstansby commented 2 weeks ago

I updated this so the Python 3.10 tests use numpy<2 and zfpy, so hopefully we still get the zfpy tests running.