Skip to content

Commit

Permalink
Make scipy installs more deterministic
Browse files Browse the repository at this point in the history
Fixes scipy version to 1.10.1 for python 3.8 and lower. Adds apt-get update before apt-get to avoid failures.
  • Loading branch information
rbaltrusch committed Jun 22, 2024
1 parent dd11c09 commit 510c03b
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pytest-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ jobs:
- name: Test with pytest
working-directory: tests
run: |
sudo apt install libopenblas-dev # scipy
sudo apt-get update
sudo apt-get install libopenblas-dev # scipy
pip install -r requirements.txt
pytest .
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
music21==8.1.0
scipy==1.13.0
scipy==1.10.1; python_version < '3.9'
scipy==1.13.0; python_version >= '3.9'

0 comments on commit 510c03b

Please sign in to comment.