From 35a003b8c0437361731e1015f571fca0e5669598 Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Sat, 10 Aug 2024 16:11:17 +0900 Subject: [PATCH] numpy<2.0 --- .github/workflows/pythonapp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index f0d92844..901bc177 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -55,6 +55,7 @@ jobs: - name: Install basic dependencies run: | python -m pip install -e .[tests] -f https://download.pytorch.org/whl/torch_stable.html + python -m pip install numpy<2.0 - name: Test with older SKLearn on Linux with py3.9 to check backward compatibility if: ${{ matrix.python-version == '3.9' && startsWith(matrix.os, 'ubuntu') == true }} run: python -m pip install scikit-learn==1.2.1 numpy==1.26.4