tests: added python 3.12

adding the recently released python 3.12 to our
list of test environments.

Change-Id: I05ec0129ad29c16fff65ddfb389f251571f811a2
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/389754
Commit-Queue: Daniel Kutik <daniel.kutik@lavawerk.com>
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Daniel Kutik <daniel.kutik@lavawerk.com>
This commit is contained in:
Daniel Kutik 2023-10-17 11:48:06 +02:00 committed by LUCI
parent 331c5dd3e7
commit 45809e51ca
3 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,7 @@ jobs:
matrix:
# ubuntu-20.04 is the last version that supports python 3.6
os: [ubuntu-20.04, macos-latest, windows-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ${{ matrix.os }}
steps:

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', 'py311']
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] #, 'py312'

View File

@ -15,7 +15,7 @@
# https://tox.readthedocs.io/
[tox]
envlist = lint, py36, py37, py38, py39, py310, py311
envlist = lint, py36, py37, py38, py39, py310, py311, py312
requires = virtualenv<20.22.0
[gh-actions]
@ -26,6 +26,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps =