Repository: quantumlib/qsim (language: python)

Issue:
Can't install later than qsim 0.9.5 with python 3.10
On machines which only have python 3.10 installed, running `pip install qsimcirq` gets version 0.9.5 with the following error message for later versions: `none of the wheel's tags (<wheel>) are compatible`.

It is possible to work around this by installing an older python version (e.g. using `pyenv`), but ideally users shouldn't need to worry about their python version as long as they have at least python 3.7.

To fix this, we should add a python 3.10 wheel to the release.


Discussion / hints:
Thanks, Orion, we also hit this issue today 🙏

Fix patch:
diff --git a/.github/workflows/release_wheels.yml b/.github/workflows/release_wheels.yml
index b209d74e..f2971d84 100644
--- a/.github/workflows/release_wheels.yml
+++ b/.github/workflows/release_wheels.yml
@@ -15,18 +15,18 @@ jobs:
           - os: macos-10.15
             name: mac
             cibw:
-              build: "cp36* cp37* cp38* cp39*"
+              build: "cp36* cp37* cp38* cp39* cp310*"
           - os: ubuntu-20.04
             name: manylinux2014
             cibw:
               arch: x86_64
-              build: "cp36* cp37* cp38* cp39*"
+              build: "cp36* cp37* cp38* cp39* cp310*"
               manylinux_image: manylinux2014
           - os: windows-2019
             name: win_amd64
             architecture: x64
             cibw:
-              build: "cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp39-win_amd64"
+              build: "cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
     env:
       CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
       CIBW_ARCHS: "${{ matrix.cibw.arch || 'auto' }}"


Test patch:
diff --git a/.github/workflows/testing_wheels.yml b/.github/workflows/testing_wheels.yml
index fa54cf51..9da9a53a 100644
--- a/.github/workflows/testing_wheels.yml
+++ b/.github/workflows/testing_wheels.yml
@@ -20,18 +20,18 @@ jobs:
           - os: macos-10.15
             name: mac
             cibw:
-              build: "cp36* cp37* cp38* cp39*"
+              build: "cp36* cp37* cp38* cp39* cp310*"
           - os: ubuntu-20.04
             name: manylinux2014
             cibw:
               arch: x86_64
-              build: "cp36* cp37* cp38* cp39*"
+              build: "cp36* cp37* cp38* cp39* cp310*"
               manylinux_image: manylinux2014
           - os: windows-2019
             name: win_amd64
             architecture: x64
             cibw:
-              build: "cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp39-win_amd64"
+              build: "cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
     env:
       CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
       CIBW_ARCHS: "${{ matrix.cibw.arch || 'auto' }}"