From b463f72675cb680f5982013459b910ce3797a015 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sun, 26 Jun 2022 10:21:44 +0200 Subject: [PATCH] Python 3.11 support (#370) * build: Run tests on Python 3.11. Signed-off-by: Michael Seifert * feat: Add official support for Python 3.11. Signed-off-by: Michael Seifert --- .github/workflows/main.yml | 4 ++-- CHANGELOG.rst | 1 + setup.cfg | 1 + tox.ini | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7bc25b08..70363f39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,11 +51,11 @@ jobs: name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest env: - USING_COVERAGE: 3.7,3.8,3.9,3.10 + USING_COVERAGE: 3.7,3.8,3.9,3.10,3.11 strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', 3.11-dev] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3e7994bb..ff7e29b4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,7 @@ Changelog UNRELEASED ================= - Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 `_ +- Add support for Python 3.11. 0.18.3 (22-03-25) ================= diff --git a/setup.cfg b/setup.cfg index a0e08d97..b1f1e82d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Software Development :: Testing diff --git a/tox.ini b/tox.ini index 83cae521..1d8994ae 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.14.0 -envlist = py37, py38, py39, py310, lint, version-info, pytest-min +envlist = py37, py38, py39, py310, py311, lint, version-info, pytest-min isolated_build = true passenv = CI @@ -52,4 +52,5 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11-dev: py311 pypy3: pypy3