Repository: pykale/pykale (language: python)

Issue:
A scheduled test failed - OSError
A scheduled [test](https://github.com/pykale/pykale/actions/runs/10294085213/job/28491529062#step:8:246) that was conducted three weeks ago has failed. The error logs are provided below.

```
ERROR tests/embed/test_gripnet.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_cluster/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
ERROR tests/embed/test_mogonet.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_cluster/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
ERROR tests/embed/test_seq_nn.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_cluster/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
ERROR tests/loaddata/test_multiomics_datasets.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_cluster/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
ERROR tests/pipeline/test_deepdta.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_cluster/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
ERROR tests/pipeline/test_multiomics_trainer.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_sparse/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
ERROR tests/predict/test_decode.py - OSError: /home/runner/miniconda3/envs/test/lib/python3.10/site-packages/torch_cluster/_version_cpu.so: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev
```



Discussion / hints:
It is unusual that the badge still displays as 'passing'.

Fix patch:
diff --git a/setup.py b/setup.py
index d511dc6a2..6cbe89c8f 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@
     "scikit-learn>=0.23.2",  # sure
     "scipy>=1.5.4",  # in factorization API only
     "tensorly>=0.5.1",  # in factorization and model_weights API only
-    "torch>=2.0.0",  # sure
+    "torch==2.0.0",  # also change the version in the test.yaml when changing this next time
     "torchvision>=0.12.0",  # in download, sampler (NON-ideal), and vision API only
 ]
 


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1fafaf653..07bd8163b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -62,9 +62,9 @@ jobs:
           pip install torch==2.0.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
           pip install torchvision==0.15.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
           pip install torch_scatter==2.1.1 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
-          pip install torch_sparse==0.6.17 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
-          pip install torch_cluster==1.6.1 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
-          pip install torch_spline_conv==1.2.2 -f https://data.pyg.org/whl/torch-1.13.0+cpu.html
+          pip install torch_sparse==0.6.18 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
+          pip install torch_cluster==1.6.3 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
+          pip install torch_spline_conv==1.2.2 -f https://data.pyg.org/whl/torch-2.0.0+cpu.html
           pip install torch_geometric==2.3.0
           pip install -e .[dev]
         shell: bash -l {0}