]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
ci: Bump lint/docs/misc python version to 3.13
authorBen Darnell <ben@bendarnell.com>
Thu, 22 May 2025 20:21:58 +0000 (16:21 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 22 May 2025 20:21:58 +0000 (16:21 -0400)
.github/workflows/build.yml
.github/workflows/test.yml
tox.ini

index 8c4d515fc6f530269f425f6fe544019b1f5fb597..6dd9306b3e807ae87641e7b7eed1a446892549b2 100644 (file)
@@ -20,7 +20,7 @@ on:
 permissions: {}
 
 env:
-  python-version: '3.9'
+  python-version: '3.13'
 
 jobs:
   build_sdist:
index 6741867c3e4b11e852d1680e98acc917d31505d1..f73628044122d77003004e16e8b93fe7875b5f0d 100644 (file)
@@ -26,12 +26,12 @@ jobs:
         name: Install Python
         with:
           # Lint python version must be synced with tox.ini
-          python-version: '3.11'
+          python-version: '3.13'
       - name: Install tox
         run: python -m pip install tox -c requirements.txt
 
       - name: Run test suite
-        run: python -m tox -e py311,lint
+        run: python -m tox -e py313,lint
 
   test_tox:
     name: Run full tests
@@ -63,7 +63,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.11'
+          - python: '3.13'
             # Docs python version must be synced with tox.ini
             tox_env: docs
 
@@ -99,7 +99,7 @@ jobs:
       - uses: actions/setup-python@v5
         name: Install Python
         with:
-          python-version: '3.11'
+          python-version: '3.13'
       - name: Run test suite
         # TODO: figure out what's up with these log messages
         run: py -m tornado.test --fail-if-logs=false
diff --git a/tox.ini b/tox.ini
index d80f7275a8e072d2ce345170331fd13dded2f08e..86be44a93b060316450e0c48ec0b34dfabef21b0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -29,8 +29,8 @@ basepython =
            # linter warning-suppression comments go), so we specify a
            # python version for these builds.
            # These versions must be synced with the versions in .github/workflows/test.yml
-           docs: python3.11
-           lint: python3.11
+           docs: python3.13
+           lint: python3.13
 
 deps =
      full: pycurl