Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update pyproject.toml When numpy >=2.0.0 from numcodecs.zfpy import ZFPY raise error [ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject] The error is caused by zfpy library crashing with recent ABI breaking of numpy udpate. So we'd better force numpy <2.0 unless zfpy update again. Reference: (https://stackoverflow.com/questions/66060487/valueerror-numpy-ndarray-size-changed-may-indicate-binary-incompatibility-exp) * Update zfpy.py Add warning when user import zfpy but with numpy >=2.0.0 * Update pyproject.toml ensure that the zfpy optional dependency has this constraint. * Update zfpy.py * Update numcodecs/zfpy.py Co-authored-by: jakirkham <jakirkham@gmail.com> * Update numcodecs/zfpy.py Co-authored-by: jakirkham <jakirkham@gmail.com> * Update zfpy.py * Update release.rst * Update release.rst * style: pre-commit fixes * Update zfpy.py --------- Co-authored-by: jakirkham <jakirkham@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information