From 4a4c870f05573d0419560cad92ec45a390cd42ef Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Wed, 26 Jul 2023 21:48:03 -0400 Subject: [PATCH] build: Move linters to python 3.11 --- .github/workflows/test.yml | 6 +++--- tox.ini | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd944442..e88a3e90 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 73a14a7f..13b3bad0 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 -- GitLab