From 45809e51ca6f4dfb84c9400e5dffef6daa2d667d Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Tue, 17 Oct 2023 11:48:06 +0200 Subject: [PATCH] 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 Reviewed-by: Mike Frysinger Tested-by: Daniel Kutik --- .github/workflows/test-ci.yml | 2 +- pyproject.toml | 2 +- tox.ini | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index 3613d82f..53d6df35 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 1f663c5f..dddae152 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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' diff --git a/tox.ini b/tox.ini index afbaf2b5..ed092001 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =