Skip to content

Commit 950b15c

Browse files
committed
Add Python 3.11 support
Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 80f029b commit 950b15c

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: '3.10'
18+
python-version: '3.11'
1919
- name: Install dependencies
2020
run: python -m pip install tox
2121
- name: Run tox
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
python: ['3.7', '3.8', '3.9', '3.10']
28+
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
2929
steps:
3030
- name: Checkout source code
3131
uses: actions/checkout@v3
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up Python
5050
uses: actions/setup-python@v4
5151
with:
52-
python-version: '3.10'
52+
python-version: '3.11'
5353
- name: Install dependencies
5454
run: python -m pip install tox
5555
- name: Build docs (via tox)
@@ -73,7 +73,7 @@ jobs:
7373
- name: Set up Python
7474
uses: actions/setup-python@v4
7575
with:
76-
python-version: '3.10'
76+
python-version: '3.11'
7777
- name: Install dependencies
7878
run: python -m pip install build
7979
- name: Build a binary wheel and a source tarball
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
Python 3.11 is now officially supported and tested.

setup.cfg

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@ long_description_content_type = text/x-rst; charset=UTF-8
66
license = MIT License
77
license_file = LICENSE
88
classifiers =
9-
Programming Language :: Python :: 3
10-
Programming Language :: Python :: 3.7
11-
Programming Language :: Python :: 3.8
12-
Programming Language :: Python :: 3.9
13-
Programming Language :: Python :: 3.10
14-
Programming Language :: Python
159
Development Status :: 5 - Production/Stable
1610
Environment :: Console
1711
Intended Audience :: Developers
1812
Intended Audience :: Information Technology
13+
Programming Language :: Python :: 3
14+
Programming Language :: Python :: 3 :: Only
15+
Programming Language :: Python
1916
License :: OSI Approved :: MIT License
2017
Operating System :: OS Independent
2118
keywords = git patchwork

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.1
3-
envlist = pep8,mypy,clean,py{37,38,39,310},report
3+
envlist = pep8,mypy,clean,py{37,38,39,310,311},report
44
ignore_basepython_conflict = true
55

66
[testenv]

0 commit comments

Comments
 (0)