Repository: tskit-dev/msprime (language: python)

Issue:
Wheels needed for 3.10
Just marking this as an action item for when another release is prepped.  Most desktop Linux are now on 3.10 by default, and I noticed msprime getting compiled rather than using a pre-built version.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/docker/shared.env b/.github/workflows/docker/shared.env
index 5bd6959cf..9f0c3fa06 100644
--- a/.github/workflows/docker/shared.env
+++ b/.github/workflows/docker/shared.env
@@ -1,4 +1,5 @@
 PYTHON_VERSIONS=(
+    cp310-cp310
     cp39-cp39
     cp38-cp38
     cp37-cp37m
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml
index d740ed76a..583182307 100644
--- a/.github/workflows/wheels.yml
+++ b/.github/workflows/wheels.yml
@@ -15,7 +15,7 @@ jobs:
     runs-on: macos-latest
     strategy:
       matrix:
-        python: [3.7, 3.8, 3.9]
+        python: [3.7, 3.8, 3.9, "3.10"]
     steps:
       - name: Checkout
         uses: actions/checkout@v2
@@ -79,7 +79,7 @@ jobs:
     runs-on: macos-latest
     strategy:
       matrix:
-        python: [3.7, 3.8, 3.9]
+        python: [3.7, 3.8, 3.9, "3.10"]
     steps:
       - name: Download wheels
         uses: actions/download-artifact@v2
@@ -104,7 +104,7 @@ jobs:
     needs: ['manylinux']
     strategy:
       matrix:
-        python: [3.7, 3.8, 3.9]
+        python: [3.7, 3.8, 3.9, "3.10"]
     steps:
       - name: Download wheels
         uses: actions/download-artifact@v2
diff --git a/.mergify.yml b/.mergify.yml
index faf03fc4a..2f20430ee 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -5,14 +5,11 @@ queue_rules:
       - status-success=Docs
       - status-success=Lint
       - status-success=Python (3.7, macos-latest)
-      - status-success=Python (3.8, macos-latest)
-      - status-success=Python (3.9, macos-latest)
+      - status-success=Python (3.10, macos-latest)
       - status-success=Python (3.7, ubuntu-latest)
-      - status-success=Python (3.8, ubuntu-latest)
-      - status-success=Python (3.9, ubuntu-latest)
+      - status-success=Python (3.10, ubuntu-latest)
       - status-success=Python (3.7, windows-latest)
-      - status-success=Python (3.8, windows-latest)
-      - status-success=Python (3.9, windows-latest)
+      - status-success=Python (3.10, windows-latest)
       - "status-success=ci/circleci: build"
 pull_request_rules:
   - name: Automatic rebase, CI and merge
@@ -24,14 +21,11 @@ pull_request_rules:
       - status-success=Docs
       - status-success=Lint
       - status-success=Python (3.7, macos-latest)
-      - status-success=Python (3.8, macos-latest)
-      - status-success=Python (3.9, macos-latest)
+      - status-success=Python (3.10, macos-latest)
       - status-success=Python (3.7, ubuntu-latest)
-      - status-success=Python (3.8, ubuntu-latest)
-      - status-success=Python (3.9, ubuntu-latest)
+      - status-success=Python (3.10, ubuntu-latest)
       - status-success=Python (3.7, windows-latest)
-      - status-success=Python (3.8, windows-latest)
-      - status-success=Python (3.9, windows-latest)
+      - status-success=Python (3.10, windows-latest)
       - "status-success=ci/circleci: build"
       #- status-success=codecov/patch
       #- status-success=codecov/project/c-tests
diff --git a/setup.cfg b/setup.cfg
index 8fbdb8263..3bfba8c1c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -20,6 +20,7 @@ classifiers =
     Programming Language :: Python :: 3.7
     Programming Language :: Python :: 3.8
     Programming Language :: Python :: 3.9
+    Programming Language :: Python :: 3.10
     Programming Language :: Python :: 3 :: Only
     Development Status :: 5 - Production/Stable 
     Environment :: Other Environment


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index ac31f4aa2..fd6cd0cd9 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -29,7 +29,7 @@ jobs:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        python: [ 3.7, 3.8, 3.9 ]
+        python: [ 3.7, "3.10" ]
         os:  [ macos-latest, ubuntu-latest, windows-latest ]
     defaults:
       run: