tox: enable python 3.11 testing

Python 3.11 was released almost a year ago.

Test: tox -epy311
Change-Id: I447637a1e97038a596373d7612c9000c0c738ec9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/382838
Tested-by: Daniel Kutik <daniel.kutik@lavawerk.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Daniel Kutik <daniel.kutik@lavawerk.com>
This commit is contained in:
Daniel Kutik 2023-08-15 13:31:07 +02:00 committed by LUCI
parent f767f7d5c4
commit 082487dcd1
2 changed files with 3 additions and 2 deletions

View File

@ -15,4 +15,4 @@
[tool.black]
line-length = 80
# NB: Keep in sync with tox.ini.
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311']

View File

@ -15,7 +15,7 @@
# https://tox.readthedocs.io/
[tox]
envlist = lint, py36, py37, py38, py39, py310
envlist = lint, py36, py37, py38, py39, py310, py311
[gh-actions]
python =
@ -24,6 +24,7 @@ python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
deps =