aai-institute / aai-institute/pyDVL
Numpy 2.0 Support
- Dominant language
- Python
- Stars
- 146
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
We should update the code to be compatible with Numpy 2.0
This newer version has many deprecation that prevent using pyDVL with newer versions of numpy.
For example, `np.float_` was removed in the NumPy 2.0 release. We should use `np.float64` instead.
We can refer to its [migration guide](https://numpy.org/devdocs/numpy_2_0_migration_guide.html) for a complete list of changes.
Contributor guide
Research direction
Review the NumPy 2.0 migration guide linked in the issue to identify all deprecated usages like np.float_. Search the codebase for these patterns, likely across multiple files. Replace each deprecated item with its modern equivalent, then run the test suite to ensure compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy
- Domain
- backend, tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100