From e2d0ddc9027289fa3e36772f743cfb7c728a9743 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Fri, 12 Apr 2024 10:17:06 -0500 Subject: [PATCH] Build against numpy 2.0rc1 --- .github/workflows/deploy.yaml | 3 --- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 405c9382..f54b92d6 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -72,9 +72,6 @@ jobs: CIBW_ARCHS: "${{ matrix.cibw_archs }}" CIBW_TEST_COMMAND: "python -c \"import pyresample; assert 'unknown' not in pyresample.__version__, 'incorrect version found'\"" CIBW_TEST_SKIP: "*_arm64 *_universal2:arm64" - # below only for building against unstable numpy - CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation" - CIBW_BEFORE_BUILD: "pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython setuptools versioneer" - name: Upload wheel(s) as build artifacts uses: actions/upload-artifact@v4 diff --git a/pyproject.toml b/pyproject.toml index dc50fd19..75ce58c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools", "wheel", "numpy", "Cython>=3", "versioneer"] +requires = ["setuptools", "wheel", "numpy>=2.0.0rc1,<2.3", "Cython>=3", "versioneer"] build-backend = "setuptools.build_meta" [tool.ruff]