From 2c2ae2efae6bd5c94d510e515da63fc9e42c5aa7 Mon Sep 17 00:00:00 2001 From: "Kevin R. Thornton" Date: Tue, 23 Jan 2024 09:31:49 -0800 Subject: [PATCH] Remove use of oldest-supported-numpy when building wheels. * the package is deprecated in light of upcoming numpy 2.0 --- .github/workflows/wheels.yml | 3 --- deployment/linux_wheels/wheel_workflow.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 2cde3049e..9e458c1ca 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -35,9 +35,6 @@ jobs: # Upgrade pip to get bdist_wheel pip install --upgrade pip pip install setuptools wheel build - # Instead of letting setup.py install a newer numpy we install it here - # using the oldest supported version for ABI compatibility - pip install oldest-supported-numpy - name: Build Wheel run: | python -m build --wheel diff --git a/deployment/linux_wheels/wheel_workflow.sh b/deployment/linux_wheels/wheel_workflow.sh index 4d5e8aa22..c898400a9 100644 --- a/deployment/linux_wheels/wheel_workflow.sh +++ b/deployment/linux_wheels/wheel_workflow.sh @@ -29,7 +29,7 @@ git config --global --add safe.directory /project $(which $PYTHON) -m venv venv source venv/bin/activate -python -m pip install --upgrade pip setuptools build oldest-supported-numpy +python -m pip install --upgrade pip setuptools build python -m build . deactivate rm -rf build venv