Repository: dalibo/check_patroni (language: python)

Issue:
Version 3.7 with arch x64 not found
```
Run actions/setup-python@v2
Version 3.7 was not found in the local cache
Error: Version 3.7 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
```


Discussion / hints:
Python 3.7 is no longer supported; even Python 3.8 has reached end-of-line this month: https://peps.python.org/pep-0569/.

Probably best to just move to 3.9, unless there's a compelling (i.e. someone paying for this) reason to keep support for old Python version. 

Fix patch:
diff --git a/tox.ini b/tox.ini
index e4d86d0..bfe4986 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 # the versions specified here are overridden by github workflow
-envlist = lint, mypy, py{37,38,39,310,311}
+envlist = lint, mypy, py{39,310,311,312,313}
 skip_missing_interpreters = True
 
 [testenv]


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 42d237c..f36e22f 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -8,8 +8,8 @@ jobs:
     strategy:
       matrix:
         include:
-          - python: "3.7"
-          - python: "3.11"
+          - python: "3.9"
+          - python: "3.13"
     steps:
       - uses: actions/checkout@v2
       - name: Setup Python