Test and prepare for NumPy 2.0
NumPy 2.0 will be available in Feb 2024 (release candidate) and has some backwards incompatible changes. Questions:
- Do they affect PyTango?
- Can we support both 1.x and 2.x versions of NumPy simultaneously?
- At build time (C API changes)?
- At run-time (Python API changes)?
- If not, should we pin our numpy dependency < 2, or >= 2 for an interim release like 9.5.1, and use >= 2 for 10.0.0?
- What version of numpy should we use when building future binary wheels? See: oldest-support-numpy
- How should our version support policy change?
Related links:
- https://pythonspeed.com/articles/numpy-2/
- https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-0-specific-advice
- https://numpy.org/devdocs/numpy_2_0_migration_guide.html
- https://numpy.org/devdocs/release/2.0.0-notes.html
- https://github.com/scikit-image/scikit-image/issues/7282
- https://github.com/numpy/numpy/issues/24300
Edited by Anton Joubert