Repository: fofix/fretwork (language: python)

Issue:
Support for python 3.10
Python 3.10 support is blocked by:
- pygame: v1.9.6 does not support python 3.9, it should be upgraded to v2.0
- numpy: v1.16.6 does not support python 3.9, it should be upgraded to v1.21.


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fab6ad4..0b7cd9e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,7 @@
 
 ## 1.0.0 (unreleased)
 
-- build(python): support py3.9
+- build(python): support python 3.9 & 3.10
 - docs: the changelog is now in project root
 - ci: remove Travis CI
 - ci: use GitHub Actions
diff --git a/setup.py b/setup.py
index a449c40..aa29a2b 100644
--- a/setup.py
+++ b/setup.py
@@ -52,6 +52,7 @@
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
         'Topic :: Multimedia',
         'Topic :: Multimedia :: Sound/Audio',
         'Topic :: Software Development :: Libraries',
@@ -63,6 +64,7 @@
         "numpy>=1.14;python_version>'3.7'",
         "numpy>=1.17;python_version>'3.8'",
         "numpy>=1.19;python_version>'3.9'",
+        "numpy>=1.21;python_version>'3.10'",
     ],
     test_suite="tests",
 )


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 52fbd99..835accf 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -14,13 +14,9 @@ jobs:
     strategy:
       fail-fast: true
       matrix:
-        python-version: ['3.7', '3.8', '3.9']
+        python-version: ['3.7', '3.8', '3.9', '3.10']
         experimental: [false]
 
-        include:
-          - python-version: '3.10'
-            experimental: true
-
     steps:
       - name: Checkout
         uses: actions/checkout@v3