Open
Description
NumPy is currently working on a NumPy 2.0 release, which is planned to come out later this year. Here are the current (draft) release notes. Also here's the upstream tracking issue ( numpy/numpy#24300 ), and ecosystem compatibility tracker.
Some questions worth discussing:
- How do we handle tightening loose
numpy
pins in packages ( Hot-fix packages using NumPy to require <2 ? conda-forge-repodata-patches-feedstock#516 )? - Do we want to keep building for NumPy 1 & 2 at the same time?
- What timeline do we want to use for adding NumPy 2?
- What timeline do we want to use for dropping NumPy 1?
- How should this be coordinated around other major migrations (like Python 3.12 or a new Boost)?
- Numpy now builds for the "oldest-available-C-API" by default, i.e. we could build for our current 1.22 C-API using numpy 1.25; we need to adapt to this in any case, at the latest when our lower bound becomes 1.25 (see Numpy pinning going forward conda-forge-pinning-feedstock#4816)?
- Anything else we should discuss?
Todos:
- Fix run-export for numpy 2.0 numpy-feedstock#313
- more granular tightening for numpy 2.0 conda-forge-repodata-patches-feedstock#728
- Piggyback migrator to drop
{{ pin_compatible("numpy") }}
regro/cf-scripts#2469 - add mini-piggyback migrator for removing
pin_compatible("numpy"...)
regro/cf-scripts#2470 - BUG: smithy ignores keys in migrator when affected by zipping logic conda-smithy#1911
- add _numpy_rc staged-recipes#26188
- Add runtime _numpy_rc dependency for rc builds and publish to main numpy-feedstock#314
- numpy 2.0.0rc migration conda-forge-pinning-feedstock#5790
- also migrate python 3.12 for numpy 2.0; "soft-close" 3.12 migration conda-forge-pinning-feedstock#5851
- Drop
{{ pin_compatible("numpy") }}
from NumPy docs #2156
cc @conda-forge/core