Skip to content

Commit b463f72

Browse files
authored
Python 3.11 support (#370)
* build: Run tests on Python 3.11. Signed-off-by: Michael Seifert <[email protected]> * feat: Add official support for Python 3.11. Signed-off-by: Michael Seifert <[email protected]>
1 parent 860ff51 commit b463f72

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ jobs:
5151
name: Python ${{ matrix.python-version }}
5252
runs-on: ubuntu-latest
5353
env:
54-
USING_COVERAGE: 3.7,3.8,3.9,3.10
54+
USING_COVERAGE: 3.7,3.8,3.9,3.10,3.11
5555

5656
strategy:
5757
matrix:
58-
python-version: ['3.7', '3.8', '3.9', '3.10']
58+
python-version: ['3.7', '3.8', '3.9', '3.10', 3.11-dev]
5959

6060
steps:
6161
- uses: actions/checkout@v3

CHANGELOG.rst

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Changelog
55
UNRELEASED
66
=================
77
- 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 <https://github.com/pytest-dev/pytest-asyncio/issues/283>`_
8+
- Add support for Python 3.11.
89

910
0.18.3 (22-03-25)
1011
=================

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ classifiers =
2222
Programming Language :: Python :: 3.8
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
25+
Programming Language :: Python :: 3.11
2526

2627
Topic :: Software Development :: Testing
2728

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.14.0
3-
envlist = py37, py38, py39, py310, lint, version-info, pytest-min
3+
envlist = py37, py38, py39, py310, py311, lint, version-info, pytest-min
44
isolated_build = true
55
passenv =
66
CI
@@ -52,4 +52,5 @@ python =
5252
3.8: py38
5353
3.9: py39
5454
3.10: py310
55+
3.11-dev: py311
5556
pypy3: pypy3

0 commit comments

Comments
 (0)