Skip to content

Commit

Permalink
Different approach: install wheel beforehand so numpy can hopefully b…
Browse files Browse the repository at this point in the history
…e installed from a wheel
  • Loading branch information
loostrum committed Oct 3, 2024
1 parent 04a2cd4 commit 458d0df
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/actions/install-python-and-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ runs:
python -m pip install --index-url https://download.pytorch.org/whl/cpu
python -m pip install tensorflow-cpu
# temporary: explicitly install numpy to avoid version issues on macOS, see #861
- name: Install numpy
# temporary: explicitly install wheel to avoid numpy install issues on macOS, see #861
- name: Install wheel
if: runner.os == 'macOS'
shell: bash {0}
run: |
# the grep oneliner extracts the numpy version requirement from setup.cfg
python -m pip install "$(grep numpy setup.cfg | head -n 1)"
python -m pip install wheel
- name: Install DIANNA
shell: bash {0}
Expand Down

0 comments on commit 458d0df

Please sign in to comment.