提交 4a4c870f 编写于 作者: B Ben Darnell

build: Move linters to python 3.11

上级 1adf6294
......@@ -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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册