From 2ef831c23c9016254087ee95e3d1b68b1716ee7e Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sun, 19 Jun 2022 15:35:41 +0200 Subject: [PATCH 1/2] build: Run tests on Python 3.11. Signed-off-by: Michael Seifert --- .github/workflows/main.yml | 4 ++-- tox.ini | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3c01858..d5ed0388 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/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 From d3221cf239b9b4f252e31199757400febc712013 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sun, 19 Jun 2022 15:35:55 +0200 Subject: [PATCH 2/2] feat: Add official support for Python 3.11. Signed-off-by: Michael Seifert --- CHANGELOG.rst | 1 + setup.cfg | 1 + 2 files changed, 2 insertions(+) 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