Skip to content

Commit

Permalink
Merge pull request #56 from plone/py313
Browse files Browse the repository at this point in the history
Support Python 3.13 for cookieplone itself
  • Loading branch information
davisagli authored Jan 14, 2025
2 parents 0c36dce + 150c610 commit 0c58114
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ on:
push:
workflow_dispatch:

env:
PYTHON_VERSION: 3.11

jobs:

quality:
runs-on: ubuntu-latest
steps:
Expand All @@ -20,8 +16,8 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
python-version: 3.12
cache: "pip"

- name: "Install Environment"
run: hatch env create
Expand All @@ -31,6 +27,9 @@ jobs:

test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout codebase
uses: actions/checkout@v4
Expand All @@ -40,8 +39,8 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: 'pip'
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: "Install Environment"
run: hatch env create
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ requires-python = ">=3.10"
license = "MIT"
keywords = ["Plone", "cookiecutter", "code generator"]
classifiers = [
"Development Status :: 3 - Alpha",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
Expand All @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python",
"Topic :: Software Development",
Expand Down Expand Up @@ -79,7 +80,7 @@ check = [
changelog-draft = "towncrier --draft"

[[tool.hatch.envs.all.matrix]]
python = ["3.10", "3.11", "3.12"]
python = ["3.10", "3.11", "3.12", "3.13"]

[tool.coverage.run]
source_pkgs = ["cookieplone", "tests"]
Expand Down

0 comments on commit 0c58114

Please sign in to comment.