Skip to content

Commit bddc91c

Browse files
hugovkpgjones
authored andcommitted
Add support for Python 3.11 and 3.12
1 parent fb40afc commit bddc91c

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,24 @@ jobs:
1010
tox:
1111
runs-on: ubuntu-latest
1212
strategy:
13-
max-parallel: 5
13+
max-parallel: 7
1414
matrix:
1515
python-version:
1616
- 3.7
1717
- 3.8
1818
- 3.9
1919
- "3.10"
20+
- "3.11"
21+
- "3.12"
2022
- pypy-3.7
2123
- pypy-3.8
2224

2325
steps:
24-
- uses: actions/checkout@v2
25-
- uses: actions/setup-python@v2
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-python@v4
2628
with:
2729
python-version: ${{ matrix.python-version }}
30+
allow-prereleases: true
2831
- name: Install tox
2932
run: |
3033
python -m pip install --upgrade pip setuptools
@@ -35,6 +38,6 @@ jobs:
3538
- name: Test with tox
3639
run: |
3740
tox --parallel 0
38-
- uses: codecov/codecov-action@v1
41+
- uses: codecov/codecov-action@v3
3942
with:
4043
file: ./coverage.xml

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"Programming Language :: Python :: 3.8",
3535
"Programming Language :: Python :: 3.9",
3636
"Programming Language :: Python :: 3.10",
37+
"Programming Language :: Python :: 3.11",
38+
"Programming Language :: Python :: 3.12",
3739
"Topic :: Internet :: WWW/HTTP",
3840
"Topic :: System :: Networking",
3941
],

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
[tox]
2-
envlist = format, py37, py38, py39, py310, pypy3, mypy
2+
envlist = format, py{37, 38, 39, 310, 311, 312, py3}, mypy
33

44
[gh-actions]
55
python =
66
3.7: py37
77
3.8: py38
88
3.9: py39
9-
3.10: py310, format, mypy
9+
3.10: py310
10+
3.11: py311, format, mypy
11+
3.12: py312
1012
pypy-3.7: pypy3
1113
pypy-3.8: pypy3
1214

0 commit comments

Comments
 (0)