Skip to content

Commit

Permalink
use oldest-supported-numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
jswhit committed Oct 30, 2021
1 parent 571734f commit 5772428
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,26 +62,6 @@ jobs:
- uses: docker/setup-qemu-action@v1
if: ${{ matrix.platform == 'aarch64' }}
name: Set up QEMU
- name: Pin Numpy version
run: |
if [ "$MB_PYTHON_VERSION" == '3.6' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
elif [ "$MB_PYTHON_VERSION" == '3.7' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
elif [ "$MB_PYTHON_VERSION" == '3.8' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.17.3)" >> $GITHUB_ENV;
elif [ "$MB_PYTHON_VERSION" == '3.9' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.19.4)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.19.4)" >> $GITHUB_ENV;
elif [ "$MB_PYTHON_VERSION" == '3.10' ]; then
echo "NP_BUILD_DEP=$(echo numpy==1.21.3)" >> $GITHUB_ENV;
echo "NP_TEST_DEP=$(echo numpy==1.21.3)" >> $GITHUB_ENV;
else
echo "None of the defined python version, use default"
fi
- name: Setup Environment variables
run: |
if [ "schedule" == "${{ github.event_name }}" ] || [ "master" == "$BUILD_COMMIT" ]; then echo "TOKEN=$SCIPY_WHEELS_NIGHTLY_ACCESS" >> $GITHUB_ENV; else echo "TOKEN=$MULTIBUILD_WHEELS_STAGING_ACCESS" >> $GITHUB_ENV; fi
Expand Down Expand Up @@ -113,8 +93,8 @@ jobs:
pip install virtualenv
- name: Build and Install Wheels
run: |
BUILD_DEPENDS="$NP_BUILD_DEP cython"
TEST_DEPENDS="$NP_TEST_DEP pytest pytest-cov"
BUILD_DEPENDS="oldest-supported-numpy cython"
TEST_DEPENDS="oldest-supported-numpy pytest pytest-cov"
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
echo "------- BEFORE INSTALL --------"
Expand Down

0 comments on commit 5772428

Please sign in to comment.