Skip to content

Commit abadecd

Browse files
authored
Merge pull request #128 from ymyzk/python-3.11
Add Python 3.11 support
2 parents 5308af6 + f36d2f1 commit abadecd

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/packaging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.10']
18+
python-version: ['3.11']
1919

2020
steps:
2121
- uses: actions/checkout@v3

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- ubuntu-latest # ubuntu-20.04
1717
- macos-latest # macOS-11
1818
- windows-latest # windows-2022
19-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', 3.11-dev, pypy-2.7, pypy-3.7, pypy-3.8, pypy-3.9]
19+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', 3.12-dev, pypy-2.7, pypy-3.7, pypy-3.8, pypy-3.9]
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -40,12 +40,12 @@ jobs:
4040
- name: Test with tox
4141
run: tox
4242
- name: Upload coverage.xml
43-
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.10' }}
43+
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
4444
uses: actions/upload-artifact@v3
4545
with:
4646
name: tox-gh-actions-coverage
4747
path: coverage.xml
4848
if-no-files-found: error
4949
- name: Upload coverage.xml to codecov
50-
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.10' }}
50+
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
5151
uses: codecov/codecov-action@v2

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ classifiers =
3030
Programming Language :: Python :: 3.8
3131
Programming Language :: Python :: 3.9
3232
Programming Language :: Python :: 3.10
33+
Programming Language :: Python :: 3.11
3334
Programming Language :: Python :: Implementation :: CPython
3435
Programming Language :: Python :: Implementation :: PyPy
3536
Topic :: Software Development :: Testing
@@ -85,7 +86,7 @@ skip_missing_interpreters = true
8586
envlist =
8687
black
8788
flake8
88-
{py27,py35,py36,py37,py38,py39,py310,pypy2,pypy3}-tox{312,315,latest}
89+
{py27,py35,py36,py37,py38,py39,py310,py311,pypy2,pypy3}-tox{312,315,latest}
8990

9091
[gh-actions]
9192
python =
@@ -96,6 +97,7 @@ python =
9697
3.8: py38, black, flake8
9798
3.9: py39
9899
3.10: py310
100+
3.11: py311
99101
pypy-2: pypy2
100102
pypy-3: pypy3
101103

0 commit comments

Comments
 (0)