aai-institute / aai-institute/pyDVL
Numpy 2.0 Support
- Langage dominant
- Python
- Étoiles
- 146
- Forks
- 10
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- numpy
- Domaine
- backend, tooling
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 55/100