Repository: yeatmanlab/AFQ-Insight (language: python)

Issue:
Add python 3.10 support



Discussion / hints:
By which I mean add 3.10 to the CI suite.

Also drop 3.6 support in setup.cfg, etc.

Fix patch:
diff --git a/.github/workflows/docbuild.yml b/.github/workflows/docbuild.yml
index 2dc8cffd..679bd09a 100644
--- a/.github/workflows/docbuild.yml
+++ b/.github/workflows/docbuild.yml
@@ -8,7 +8,7 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: [3.7, 3.8, 3.9]
+        python-version: [3.7, 3.8, 3.9, "3.10"]
 
     steps:
       - name: Checkout repo
@@ -31,7 +31,7 @@ jobs:
           name: docs
           path: doc/_build/html
       - name: Publish docs to Github Pages
-        if: startsWith(github.event.ref, 'refs/tags')
+        if: ${{ startsWith(github.event.ref, 'refs/tags') && matrix.python-version == 3.9 }}
         uses: JamesIves/github-pages-deploy-action@releases/v3
         with:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/doc/install.rst b/doc/install.rst
index 8fc8355c..211715cc 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -2,7 +2,7 @@
 Installation
 ############
 
-*AFQ-Insight* requires Python 3.6, 3.7, or 3.8. 
+*AFQ-Insight* requires Python >= 3.7. 
 
 Installing the release version
 ------------------------------
diff --git a/setup.cfg b/setup.cfg
index 615697c0..708fc754 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,7 +30,7 @@ platforms = OS Independent
 [options]
 setup_requires =
     setuptools_scm
-python_requires = >=3.6
+python_requires = >=3.7
 install_requires =
     dipy>=1.0.0
     groupyr>=0.2.7


Test patch:
diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml
index 0ecd96f9..b1bf1524 100644
--- a/.github/workflows/publish-to-test-pypi.yml
+++ b/.github/workflows/publish-to-test-pypi.yml
@@ -7,10 +7,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 pep517
       run: >-
         python -m
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1bd3d559..c1cea350 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,7 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: [3.7, 3.8, 3.9]
+        python-version: [3.7, 3.8, 3.9, "3.10"]
 
     steps:
       - name: Checkout repo