Skip to content

Commit 0c58114

Browse files
authored
Merge pull request #56 from plone/py313
Support Python 3.13 for cookieplone itself
2 parents 0c36dce + 150c610 commit 0c58114

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ on:
44
push:
55
workflow_dispatch:
66

7-
env:
8-
PYTHON_VERSION: 3.11
9-
107
jobs:
11-
128
quality:
139
runs-on: ubuntu-latest
1410
steps:
@@ -20,8 +16,8 @@ jobs:
2016

2117
- uses: actions/setup-python@v5
2218
with:
23-
python-version: ${{ env.PYTHON_VERSION }}
24-
cache: 'pip'
19+
python-version: 3.12
20+
cache: "pip"
2521

2622
- name: "Install Environment"
2723
run: hatch env create
@@ -31,6 +27,9 @@ jobs:
3127

3228
test:
3329
runs-on: ubuntu-latest
30+
strategy:
31+
matrix:
32+
python-version: ["3.10", "3.11", "3.12", "3.13"]
3433
steps:
3534
- name: Checkout codebase
3635
uses: actions/checkout@v4
@@ -40,8 +39,8 @@ jobs:
4039

4140
- uses: actions/setup-python@v5
4241
with:
43-
python-version: ${{ env.PYTHON_VERSION }}
44-
cache: 'pip'
42+
python-version: ${{ matrix.python-version }}
43+
cache: "pip"
4544

4645
- name: "Install Environment"
4746
run: hatch env create

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ requires-python = ">=3.10"
1010
license = "MIT"
1111
keywords = ["Plone", "cookiecutter", "code generator"]
1212
classifiers = [
13-
"Development Status :: 3 - Alpha",
13+
"Development Status :: 5 - Production/Stable",
1414
"Environment :: Console",
1515
"Intended Audience :: Developers",
1616
"Natural Language :: English",
@@ -20,6 +20,7 @@ classifiers = [
2020
"Programming Language :: Python :: 3.10",
2121
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2324
"Programming Language :: Python :: Implementation :: CPython",
2425
"Programming Language :: Python",
2526
"Topic :: Software Development",
@@ -79,7 +80,7 @@ check = [
7980
changelog-draft = "towncrier --draft"
8081

8182
[[tool.hatch.envs.all.matrix]]
82-
python = ["3.10", "3.11", "3.12"]
83+
python = ["3.10", "3.11", "3.12", "3.13"]
8384

8485
[tool.coverage.run]
8586
source_pkgs = ["cookieplone", "tests"]

0 commit comments

Comments
 (0)