From: Ben Darnell Date: Thu, 27 Jul 2023 01:48:03 +0000 (-0400) Subject: build: Move linters to python 3.11 X-Git-Tag: v6.4.0b1~19^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a4c870f05573d0419560cad92ec45a390cd42ef;p=thirdparty%2Ftornado.git build: Move linters to python 3.11 --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd9444423..e88a3e905 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 73a14a7fd..13b3bad07 100644 --- 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