diff --git a/.github/workflows/testing_daily.yml b/.github/workflows/testing_daily.yml index 2fda8056..4bd68b60 100644 --- a/.github/workflows/testing_daily.yml +++ b/.github/workflows/testing_daily.yml @@ -24,6 +24,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + # we have to install torch in advance because of torch_sparse, + # refer to https://github.com/rusty1s/pytorch_sparse/issues/156#issuecomment-1304869772 for details + pip install torch pip install -r pypots/tests/environment_for_pip_test.txt - name: Fetch the test environment details diff --git a/pypots/tests/environment_for_pip_test.txt b/pypots/tests/environment_for_pip_test.txt index 3d3a7646..84b467a3 100644 --- a/pypots/tests/environment_for_pip_test.txt +++ b/pypots/tests/environment_for_pip_test.txt @@ -9,7 +9,7 @@ coveralls coverage pycorruptor tsdb -torch +# torch # torch already installed in advance, refer to workflow testing_daily.yml lines 27-29 +torch_geometric torch_sparse -torch_scatter -torch_geometric \ No newline at end of file +torch_scatter \ No newline at end of file