Closed
Description
Now that Numpy 2 has been released, I think we don't need to build against numpy-dev (we are using all dev dependencies so scipy-dev as well), i.e. we can revert #27735, i.e. I think we can just remove code like this:
if [[ "$GITHUB_EVENT_NAME" == "schedule" || "$CIRRUS_CRON" == "nightly" ]]; then
# Nightly build: See also `../github/upload_anaconda.sh` (same branching).
# To help with NumPy 2.0 transition, ensure that we use the NumPy 2.0
# nightlies. This lives on the edge and opts-in to all pre-releases.
# That could be an issue, in which case no-build-isolation and a targeted
# NumPy install may be necessary, instead.
export CIBW_BUILD_FRONTEND='pip; args: --pre --extra-index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"'
fi
cc @seberg who did the original PR, in case there may be a reason we want to wait a bit after Numpy 2.0 release and check whether I am not missing anything subtle.