Skip to content

Commit 7cc8527

Browse files
committed
Add support for Python 3.12 and 3.13
1 parent dca0d26 commit 7cc8527

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
name: [
2222
"windows-py38",
23-
"windows-py311",
23+
"windows-py313",
2424
"windows-pypy3",
2525

2626
"ubuntu-py38-pytestmain",
@@ -29,6 +29,7 @@ jobs:
2929
"ubuntu-py310",
3030
"ubuntu-py311",
3131
"ubuntu-py312",
32+
"ubuntu-py313",
3233
"ubuntu-pypy3",
3334
"ubuntu-benchmark",
3435
]
@@ -38,10 +39,10 @@ jobs:
3839
python: "3.8"
3940
os: windows-latest
4041
tox_env: "py38"
41-
- name: "windows-py311"
42-
python: "3.10"
42+
- name: "windows-py313"
43+
python: "3.13"
4344
os: windows-latest
44-
tox_env: "py311"
45+
tox_env: "py313"
4546
- name: "windows-pypy3"
4647
python: "pypy3.9"
4748
os: windows-latest
@@ -71,10 +72,15 @@ jobs:
7172
tox_env: "py311"
7273
use_coverage: true
7374
- name: "ubuntu-py312"
74-
python: "3.12-dev"
75+
python: "3.12"
7576
os: ubuntu-latest
7677
tox_env: "py312"
7778
use_coverage: true
79+
- name: "ubuntu-py313"
80+
python: "3.13"
81+
os: ubuntu-latest
82+
tox_env: "py313"
83+
use_coverage: true
7884
- name: "ubuntu-pypy3"
7985
python: "pypy3.9"
8086
os: ubuntu-latest
@@ -94,6 +100,7 @@ jobs:
94100
uses: actions/setup-python@v5
95101
with:
96102
python-version: ${{ matrix.python }}
103+
allow-prereleases: true
97104

98105
- name: Install dependencies
99106
run: |

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ classifiers = [
2828
"Programming Language :: Python :: 3.9",
2929
"Programming Language :: Python :: 3.10",
3030
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
3133
]
3234
description = "plugin and hook calling mechanisms for python"
3335
readme = {file = "README.rst", content-type = "text/x-rst"}

tox.ini

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

44
[testenv]
55
commands=

0 commit comments

Comments
 (0)