From 4b7729fd7e5d5b7324ac26edaa72fa956e03e5ca Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Sun, 24 Sep 2023 19:01:36 +0200 Subject: [PATCH] Install/compile NumPy without OpenBLAS in CI for PyPy 3.10, as no wheels are available --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c6862ba..d8f2b5fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,11 +142,10 @@ jobs: with: key: ${{ github.job }}-${{ matrix.runs-on }}-${{ matrix.arch }}-${{ matrix.release }}-${{ matrix.gcc }}-${{ matrix.clang }} - - name: Install OpenBLAS on macOS for NumPy - if: runner.os == 'macOS' && startsWith(matrix.python, 'pypy') + - name: Install NumPy without OpenBLAS for PyPy 3.10 + if: matrix.python == 'pypy-3.10-nightly' run: | - brew install openblas - echo "OPENBLAS=$(brew --prefix openblas)" >> $GITHUB_ENV + pip install numpy --config-settings=setup-args="-Dallow-noblas=true" - name: Install requirements run: |