From 350570f15c256ef69b6fb3bd3bc86638dc92709f Mon Sep 17 00:00:00 2001 From: Tom Vercauteren Date: Thu, 26 Sep 2024 23:19:18 +0100 Subject: [PATCH] attempting to fix CI --- .github/workflows/python-package.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index a8ca7b7..287f61d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,10 +27,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install --upgrade numpy pip install torch==${{ matrix.torch-version }} python -m pip install flake8 black if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi + - name: numpy downgrade + if: matrix.torch-version == "1.13.1" + run: | + pip install "numpy<2" - name: Lint check with flake8 run: | # stop the build if there are Python syntax errors or undefined names