]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
build: Move linters to python 3.11
authorBen Darnell <ben@bendarnell.com>
Thu, 27 Jul 2023 01:48:03 +0000 (21:48 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 27 Jul 2023 01:48:03 +0000 (21:48 -0400)
.github/workflows/test.yml
tox.ini

index bd9444423099da3e1aa6d153cc12366af6534ed7..e88a3e905126fdc884ebc12dde0ec178f61c9c81 100644 (file)
@@ -22,12 +22,12 @@ jobs:
         name: Install Python
         with:
           # Lint python version must be synced with tox.ini
-          python-version: '3.8'
+          python-version: '3.11'
       - name: Install tox
         run: python -m pip install tox -c requirements.txt
 
       - name: Run test suite
-        run: python -m tox -e py38,lint
+        run: python -m tox -e py311,lint
 
   test_tox:
     name: Run full tests
@@ -57,7 +57,7 @@ jobs:
             # Pypy is a lot slower due to jit warmup costs, so don't run the
             # "full" test config there.
             tox_env: pypy3
-          - python: '3.8'
+          - python: '3.11'
             # Docs python version must be synced with tox.ini
             tox_env: docs
 
diff --git a/tox.ini b/tox.ini
index 73a14a7fd5c023c52dcce65fc8f5b277ae4c7721..13b3bad0761973c898da1332dcd261119379a875 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -35,8 +35,9 @@ basepython =
            # the outputs of the tools (especially where exactly the
            # linter warning-suppression comments go), so we specify a
            # python version for these builds.
-           docs: python3.8
-           lint: python3.8
+           # These versions must be synced with the versions in .github/workflows/test.yml
+           docs: python3.11
+           lint: python3.11
 
 deps =
      full: pycurl