From: Ben Darnell Date: Thu, 22 May 2025 20:21:58 +0000 (-0400) Subject: ci: Bump lint/docs/misc python version to 3.13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f62652ed11b2e5988f975af7b78d0cf0a3bcadc;p=thirdparty%2Ftornado.git ci: Bump lint/docs/misc python version to 3.13 --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c4d515f..6dd9306b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ on: permissions: {} env: - python-version: '3.9' + python-version: '3.13' jobs: build_sdist: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6741867c..f7362804 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 d80f7275..86be44a9 100644 --- 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