From 082487dcd135463313d772cff19b685ea8623793 Mon Sep 17 00:00:00 2001 From: Daniel Kutik Date: Tue, 15 Aug 2023 13:31:07 +0200 Subject: [PATCH] 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 Reviewed-by: Mike Frysinger Commit-Queue: Daniel Kutik --- pyproject.toml | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8ff3570f..1f663c5f 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'] +target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311'] diff --git a/tox.ini b/tox.ini index ccf2ffff..0a989c21 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =