Skip to content

Commit

Permalink
Test with Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
twm committed Apr 30, 2023
1 parent 08bb4d3 commit 87dbb46
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,12 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.9"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9"]
twisted-version: ["lowest", "latest"]
experimental: [false]

include:
- python-version: "3.8"
twisted-version: "trunk"
experimental: true

- python-version: "3.9"
- python-version: "3.12.0-alpha.7"
twisted-version: "trunk"
experimental: true

Expand Down Expand Up @@ -101,6 +97,7 @@ jobs:
"3.8": "py38",
"3.9": "py39",
"3.10": "py310",
"3.11": "py311",
"pypy-3.8": "pypy3",
"pypy-3.9": "pypy3",
}
Expand Down
1 change: 1 addition & 0 deletions changelog.d/364.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Python 3.11 is now supported.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
py37-twisted_lowest,
{pypy3,py37,py38,py39,py310}-twisted_latest,
{pypy3,py37,py38,py39,py310}-twisted_trunk,
{pypy3,py37,py38,py39,py310,py311}-twisted_latest,
{pypy3,py37,py38,py39,py310,py311}-twisted_trunk,
twine, check-manifest, flake8, docs, coverage-report
isolated_build = true

Expand Down Expand Up @@ -58,7 +58,7 @@ commands =
sphinx-build -b html . html

[testenv:coverage-report]
depends = pypy3,py37,py38,py39
depends = pypy3,py37,py38,py39,py310,py311
commands =
coverage combine
coverage report
Expand Down

0 comments on commit 87dbb46

Please sign in to comment.