Skip to content

Commit 11aeef4

Browse files
committed
Add support for Python 3.11
1 parent 70fde45 commit 11aeef4

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
name: [
2222
"windows-py36",
23-
"windows-py310",
23+
"windows-py311",
2424
"windows-pypy3",
2525

2626
"ubuntu-py36",
@@ -29,6 +29,7 @@ jobs:
2929
"ubuntu-py38",
3030
"ubuntu-py39",
3131
"ubuntu-py310",
32+
"ubuntu-py311",
3233
"ubuntu-pypy3",
3334
"ubuntu-benchmark",
3435

@@ -41,12 +42,12 @@ jobs:
4142
python: "3.6"
4243
os: windows-latest
4344
tox_env: "py36"
44-
- name: "windows-py310"
45+
- name: "windows-py311"
4546
python: "3.10"
4647
os: windows-latest
47-
tox_env: "py310"
48+
tox_env: "py311"
4849
- name: "windows-pypy3"
49-
python: "pypy3"
50+
python: "pypy3.9"
5051
os: windows-latest
5152
tox_env: "pypy3"
5253
- name: "ubuntu-py36"
@@ -78,9 +79,13 @@ jobs:
7879
python: "3.10"
7980
os: ubuntu-latest
8081
tox_env: "py310"
82+
- name: "ubuntu-py311"
83+
python: "3.11"
84+
os: ubuntu-latest
85+
tox_env: "py311"
8186
use_coverage: true
8287
- name: "ubuntu-pypy3"
83-
python: "pypy3"
88+
python: "pypy3.9"
8489
os: ubuntu-latest
8590
tox_env: "pypy3"
8691
use_coverage: true
@@ -98,12 +103,12 @@ jobs:
98103
tox_env: "docs"
99104

100105
steps:
101-
- uses: actions/checkout@v2
106+
- uses: actions/checkout@v3
102107
with:
103108
fetch-depth: 0
104109

105110
- name: Set up Python ${{ matrix.python }}
106-
uses: actions/setup-python@v2
111+
uses: actions/setup-python@v4
107112
with:
108113
python-version: ${{ matrix.python }}
109114

@@ -131,11 +136,11 @@ jobs:
131136
runs-on: ubuntu-latest
132137

133138
steps:
134-
- uses: actions/checkout@v2
139+
- uses: actions/checkout@v3
135140
with:
136141
fetch-depth: 0
137142

138-
- uses: actions/setup-python@v2
143+
- uses: actions/setup-python@v4
139144
with:
140145
python-version: "3.8"
141146

@@ -148,7 +153,7 @@ jobs:
148153
run: python setup.py sdist bdist_wheel
149154

150155
- name: Publish package
151-
uses: pypa/gh-action-pypi-publish@v1.4.1
156+
uses: pypa/gh-action-pypi-publish@v1.5.1
152157
with:
153158
user: __token__
154159
password: ${{ secrets.pypi_token }}

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers =
2727
Programming Language :: Python :: 3.8
2828
Programming Language :: Python :: 3.9
2929
Programming Language :: Python :: 3.10
30+
Programming Language :: Python :: 3.11
3031

3132
[options]
3233
packages =

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=linting,docs,py{36,37,38,39,310,py3},py{36,37}-pytest{main}
2+
envlist=linting,docs,py{36,37,38,39,310,311,py3},py{36,37}-pytest{main}
33

44
[testenv]
55
commands=

0 commit comments

Comments
 (0)