Skip to content

Commit 39e5c50

Browse files
committed
Add support for Python 3.12
1 parent 490cf90 commit 39e5c50

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ jobs:
99
test-ubuntu:
1010
runs-on: ubuntu-latest
1111
strategy:
12+
fail-fast: false
1213
matrix:
13-
python-version: [3.7, 3.8, 3.9, "3.10"]
14+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1415

1516
steps:
16-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1718
- name: Setup Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v4
1920
with:
2021
python-version: ${{ matrix.python-version }}
22+
allow-prereleases: true
2123
- name: Install Dependencies
2224
run: |
2325
sudo apt remove python3-pip

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def get_version(package):
4444
"Programming Language :: Python :: 3.8",
4545
"Programming Language :: Python :: 3.9",
4646
"Programming Language :: Python :: 3.10",
47+
"Programming Language :: Python :: 3.11",
48+
"Programming Language :: Python :: 3.12",
4749
"Programming Language :: Python :: 3 :: Only",
4850
"Programming Language :: Python",
4951
"Topic :: Software Development",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py26, py27, py33, py34, py35, pypy, pypy3
7+
envlist = py{37, 38, 39, 310, 311, 312, py3}
88

99
[testenv]
10-
commands = py.test []
10+
commands = pytest []
1111

1212
deps=
1313
pytest

0 commit comments

Comments
 (0)