Skip to content

Commit e982224

Browse files
Merge pull request #538 from hugovk/add-3.13
Add support for Python 3.12 and 3.13
2 parents a21d3da + 7ce56a7 commit e982224

File tree

3 files changed

+36
-9
lines changed

3 files changed

+36
-9
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: main
33
on:
44
push:
55
branches:
6-
- main
6+
- "*"
77
tags:
88
- "*"
99

@@ -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: |
@@ -140,6 +147,6 @@ jobs:
140147
run: python -m build --sdist --wheel --outdir dist/
141148

142149
- name: Publish package
143-
uses: pypa/gh-action-pypi-publish@v1.10.2
150+
uses: pypa/gh-action-pypi-publish@v1.8.14
144151
with:
145152
attestations: true

pyproject.toml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,27 @@ build-backend = "setuptools.build_meta"
1010
name = "pluggy"
1111
license = {text = "MIT"}
1212
authors = [{name = "Holger Krekel", email = "holger@merlinux.eu"}]
13-
classifiers = ["Development Status :: 6 - Mature", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", "Operating System :: MacOS :: MacOS X", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Libraries", "Topic :: Utilities", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11"]
13+
classifiers = [
14+
"Development Status :: 6 - Mature",
15+
"Intended Audience :: Developers",
16+
"License :: OSI Approved :: MIT License",
17+
"Operating System :: POSIX",
18+
"Operating System :: Microsoft :: Windows",
19+
"Operating System :: MacOS :: MacOS X",
20+
"Topic :: Software Development :: Testing",
21+
"Topic :: Software Development :: Libraries",
22+
"Topic :: Utilities",
23+
"Programming Language :: Python :: Implementation :: CPython",
24+
"Programming Language :: Python :: Implementation :: PyPy",
25+
"Programming Language :: Python :: 3",
26+
"Programming Language :: Python :: 3 :: Only",
27+
"Programming Language :: Python :: 3.8",
28+
"Programming Language :: Python :: 3.9",
29+
"Programming Language :: Python :: 3.10",
30+
"Programming Language :: Python :: 3.11",
31+
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
33+
]
1434
description = "plugin and hook calling mechanisms for python"
1535
readme = {file = "README.rst", content-type = "text/x-rst"}
1636
requires-python = ">=3.8"

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)