Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ZFPY import error #540

Merged
merged 11 commits into from
Jul 8, 2024
Merged

Fix ZFPY import error #540

merged 11 commits into from
Jul 8, 2024

Commits on Jun 29, 2024

  1. 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)
    px39n authored Jun 29, 2024
    Configuration menu
    Copy the full SHA
    a71720e View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Update zfpy.py

    Add warning when user import zfpy but with numpy >=2.0.0
    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1122eda View commit details
    Browse the repository at this point in the history
  2. Update pyproject.toml

    ensure that the zfpy optional dependency has this constraint.
    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    cc92bce View commit details
    Browse the repository at this point in the history
  3. Update zfpy.py

    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    56f6b6d View commit details
    Browse the repository at this point in the history
  4. Update numcodecs/zfpy.py

    Co-authored-by: jakirkham <[email protected]>
    px39n and jakirkham authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    0eec08f View commit details
    Browse the repository at this point in the history
  5. Update numcodecs/zfpy.py

    Co-authored-by: jakirkham <[email protected]>
    px39n and jakirkham authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    6633248 View commit details
    Browse the repository at this point in the history
  6. Update zfpy.py

    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    da03546 View commit details
    Browse the repository at this point in the history
  7. Update release.rst

    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    1c39bb8 View commit details
    Browse the repository at this point in the history
  8. Update release.rst

    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fc21f3d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    968607a View commit details
    Browse the repository at this point in the history
  10. Update zfpy.py

    px39n authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    577ca5a View commit details
    Browse the repository at this point in the history