Repository: pykale/pykale (language: python)

Issue:
[Bug]got error while running tutorial
# 🐛 Bug

<-- got error while running tutorial  -->

## To reproduce

Steps to reproduce the behavior:

1. run the tutorial.ipynb


** Stack trace/error message **
```
ERROR: Package 'pykale' requires a different Python: 3.10.11 not in '<3.10,>=3.7'
/content/pykale/examples/digits_dann
```


## Additional context
should update pykale current code or downgrade by using code 

#install python 3.9
!sudo apt-get update -y
!sudo apt-get install python3.8
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
!sudo update-alternatives --config python3
!apt-get install python3-pip
!python -m pip install --upgrade pip --user

then it will install successfully,
from config import get_cfg_defaults
but still get error: 
```
ModuleNotFoundError: No module named 'yacs' 
```


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index c1dc5b69c..fd9728469 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -18,7 +18,7 @@ jobs:
     - name: Set up Python
       uses: actions/setup-python@v2
       with:
-        python-version: "3.7"
+        python-version: "3.8"
     - name: Install dependencies
       run: |
         pip install pre-commit isort
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1a634981a..1df1fc66a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -13,10 +13,10 @@ jobs:
     runs-on: ubuntu-18.04
     steps:
     - uses: actions/checkout@master
-    - name: Set up Python 3.7
+    - name: Set up Python 3.8
       uses: actions/setup-python@v1
       with:
-        python-version: 3.7
+        python-version: 3.8
     - name: Install pypa/build
       run: >-
         python -m
diff --git a/setup.py b/setup.py
index 955030393..d49ced820 100644
--- a/setup.py
+++ b/setup.py
@@ -49,7 +49,7 @@
     "ipykernel",
     "ipython<=8.12.0",  # IPython 8.13+ support Python 3.9+ only and IPython 8.0-8.12 supports Python 3.8+.
     "matplotlib<=3.5.2",
-    "nilearn",
+    "nilearn>=0.7.0",
     "Pillow",
     "PyTDC",
     "seaborn",
@@ -100,7 +100,6 @@ def find_version(*file_paths):
 readme = open("README.md").read()
 version = find_version("kale", "__init__.py")
 
-
 # Run the setup
 setup(
     name="pykale",
@@ -117,7 +116,7 @@ def find_version(*file_paths):
         "Source": "https://github.com/pykale/pykale",
     },
     packages=find_packages(exclude=("docs", "examples", "tests")),
-    python_requires=">=3.7,<3.10",
+    python_requires=">=3.8,<3.11",
     install_requires=install_requires,
     extras_require={
         "graph": graph_requires,


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 706c8c25a..722487602 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -19,12 +19,12 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest, windows-latest]
-        python-version: ["3.7", "3.8", "3.9"] # list of Python versions to test
+        python-version: ["3.8", "3.9", "3.10"] # list of Python versions to test
         exclude:
-          - os: windows-latest
-            python-version: "3.7"
           - os: windows-latest
             python-version: "3.8"
+          - os: windows-latest
+            python-version: "3.9"
     steps:
       - uses: actions/checkout@v2
       - name: Set up Python using Miniconda