Skip to content

Commit

Permalink
CI: Fix numpy version to below 2.0 (#1059)
Browse files Browse the repository at this point in the history
* Empty commit to trigger CI

* Fix numpy version for tests

* Empty commit to trigger CI

---------

Co-authored-by: BenjaminBossan <[email protected]>
  • Loading branch information
BenjaminBossan and BenjaminBossan authored Sep 6, 2024
1 parent 346d705 commit 9252477
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ jobs:
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
# TODO remove numpy version constraint once we no longer support PyTorch < 2.3
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements.txt
python -m pip install --force-reinstall -U "numpy<2.0.0"
python -m pip install pytest-pretty
python -m pip install torch==${{ matrix.torch_version }} -f https://download.pytorch.org/whl/torch_stable.html
python -m pip list
Expand Down

0 comments on commit 9252477

Please sign in to comment.