summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kutik <daniel.kutik@lavawerk.com>2023-10-17 11:48:06 +0200
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-10-17 13:58:33 +0000
commit45809e51ca6f4dfb84c9400e5dffef6daa2d667d (patch)
tree162193ab4e8d22436394aeff3dae0ae73c947c0e
parent331c5dd3e763c9616889f2e052d8d2cf842432fe (diff)
downloadgit-repo-45809e51ca6f4dfb84c9400e5dffef6daa2d667d.tar.gz
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>
-rw-r--r--.github/workflows/test-ci.yml2
-rw-r--r--pyproject.toml2
-rw-r--r--tox.ini3
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:
15 matrix: 15 matrix:
16 # ubuntu-20.04 is the last version that supports python 3.6 16 # ubuntu-20.04 is the last version that supports python 3.6
17 os: [ubuntu-20.04, macos-latest, windows-latest] 17 os: [ubuntu-20.04, macos-latest, windows-latest]
18 python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11'] 18 python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
19 runs-on: ${{ matrix.os }} 19 runs-on: ${{ matrix.os }}
20 20
21 steps: 21 steps:
diff --git a/pyproject.toml b/pyproject.toml
index 1f663c5f..dddae152 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -15,4 +15,4 @@
15[tool.black] 15[tool.black]
16line-length = 80 16line-length = 80
17# NB: Keep in sync with tox.ini. 17# NB: Keep in sync with tox.ini.
18target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] 18target-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 @@
15# https://tox.readthedocs.io/ 15# https://tox.readthedocs.io/
16 16
17[tox] 17[tox]
18envlist = lint, py36, py37, py38, py39, py310, py311 18envlist = lint, py36, py37, py38, py39, py310, py311, py312
19requires = virtualenv<20.22.0 19requires = virtualenv<20.22.0
20 20
21[gh-actions] 21[gh-actions]
@@ -26,6 +26,7 @@ python =
26 3.9: py39 26 3.9: py39
27 3.10: py310 27 3.10: py310
28 3.11: py311 28 3.11: py311
29 3.12: py312
29 30
30[testenv] 31[testenv]
31deps = 32deps =