Repository: OCHA-DAP/ocha-anticipy (language: python)

Issue:
Support Python 3.11



Discussion / hints:

Fix patch:
diff --git a/tox.ini b/tox.ini
index 8e6fbb7..7b2a7cb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,6 +5,7 @@ envlist =
     py38
     py39
     py310
+    py311
 
 [testenv]
 wheel = true
@@ -24,3 +25,4 @@ python =
     3.8: py38
     3.9: py39
     3.10: py310
+    3.11: py311


Test patch:
diff --git a/.github/workflows/run-python-tests.yaml b/.github/workflows/run-python-tests.yaml
index 7b26440..dadb433 100644
--- a/.github/workflows/run-python-tests.yaml
+++ b/.github/workflows/run-python-tests.yaml
@@ -7,7 +7,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: ['3.7', '3.8', '3.9', '3.10']
+        python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
     steps:
     - uses: actions/checkout@v2
     - name: Set up Python ${{ matrix.python-version }}
@@ -34,7 +34,7 @@ jobs:
         path: .tox/test-results.xml
     - name: Upload coverage results to Codecov
       uses: codecov/codecov-action@v2
-      if: success() && matrix.python-version == 3.10
+      if: success() && matrix.python-version == 3.11
 
   publish-test-results:
     name: Publish unit test results