hdmf-dev / hdmf

The Hierarchical Data Modeling Framework
http://hdmf.readthedocs.io
Other
46 stars 24 forks source link

Update pyproject.toml to use only Numpy <2.0 #1115

Closed mavaylon1 closed 1 month ago

mavaylon1 commented 1 month ago

Motivation

What was the reasoning behind this change? Please explain the changes briefly. Numpy has released numpy 2.0, which came with deprecations. Even though python 3.9 and above is supported, there are deprecations that need to be updated in HDMF for numpy 2.0. example: np.string_ is called in the objectmapper but that is now deprecated.

How to test the behavior?

Show how to reproduce the new behavior (can be a bug fix or a new feature)

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.71%. Comparing base (6377b43) to head (0ba0636).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #1115 +/- ## ======================================= Coverage 88.71% 88.71% ======================================= Files 45 45 Lines 9760 9760 Branches 2771 2771 ======================================= Hits 8659 8659 Misses 779 779 Partials 322 322 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mavaylon1 commented 1 month ago

Review Notes:

This is what we did for hdmf-zarr