From d28116792bb5b60ecc1de180fe92fee430e9fb1d Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Sat, 15 Oct 2022 00:01:31 +0200 Subject: [PATCH] Run tests on Python 3.11 --- .github/workflows/tests.yml | 1 + setup.cfg | 1 + tox.ini | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8cf5395932..df98057990 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,7 @@ jobs: - { name: "flake8", python: "3.10", os: ubuntu-latest, tox: "flake8" } - { name: "black", python: "3.10", os: ubuntu-latest, tox: "black" } - { name: "mypy", python: "3.10", os: ubuntu-latest, tox: "mypy" } + - { name: "3.11", python: "3.11-dev", os: ubuntu-latest, tox: py311 } - { name: "3.10", python: "3.10", os: ubuntu-latest, tox: py310 } - { name: "3.9", python: "3.9", os: ubuntu-latest, tox: py39 } - { name: "3.8", python: "3.8", os: ubuntu-latest, tox: py38 } diff --git a/setup.cfg b/setup.cfg index 152f31fc32..b50b32c9d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Intended Audience :: Developers Intended Audience :: System Administrators Topic :: Software Development :: Testing diff --git a/tox.ini b/tox.ini index b7533b10c8..3966a96cad 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = flake8 black mypy - py{37,38,39,310} + py{37,38,39,310,311-dev} [flake8] extend-exclude = build,examples/issue_*.py,src/readthedocs-sphinx-search/