Skip to content

Commit 0146ecb

Browse files
authored
Merge pull request #517 from hugovk/master
Add support for Python 3.11 and 3.12
2 parents 3a2a852 + 91cd5f3 commit 0146ecb

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
publish:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
- name: Set up Python 3.9
12-
uses: actions/setup-python@v2
12+
uses: actions/setup-python@v4
1313
with:
1414
python-version: 3.9
1515
- name: Install upload dependencies

.github/workflows/run-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,19 @@ jobs:
2323
tox-env: py39
2424
- python-version: "3.10"
2525
tox-env: py310
26+
- python-version: "3.11"
27+
tox-env: py311
28+
- python-version: "3.12"
29+
tox-env: py312
2630
- python-version: "pypy3"
2731
tox-env: pypy3
2832
steps:
29-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3034
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v2
35+
uses: actions/setup-python@v4
3236
with:
3337
python-version: ${{ matrix.python-version }}
38+
allow-prereleases: true
3439
- name: Install test dependencies
3540
run: |
3641
python -m pip install --upgrade pip setuptools

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ def readall(path):
6363
"Programming Language :: Python :: 3.8",
6464
"Programming Language :: Python :: 3.9",
6565
"Programming Language :: Python :: 3.10",
66+
"Programming Language :: Python :: 3.11",
67+
"Programming Language :: Python :: 3.12",
6668
"Programming Language :: Python :: Implementation :: CPython",
6769
"Programming Language :: Python :: Implementation :: PyPy",
6870
],

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py27,py34,py35,py36,py37,py38,py39,py310,pypy,pypy3,docs,readme,black
2+
envlist=py{27,34,35,36,37,38,39,310,311,312,py,py3},docs,readme,black
33

44
[testenv]
55
description=run test on {basepython}

0 commit comments

Comments
 (0)