From cdc9930a88dcb039c2822f6e174e495d7a80ab35 Mon Sep 17 00:00:00 2001 From: David Glick Date: Mon, 13 Jan 2025 22:14:39 -0800 Subject: [PATCH 1/2] Support Python 3.13 for cookieplone itself --- .github/workflows/main.yml | 15 +++++++-------- pyproject.toml | 3 ++- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b42120..6f53091 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,11 +4,7 @@ on: push: workflow_dispatch: -env: - PYTHON_VERSION: 3.11 - jobs: - quality: runs-on: ubuntu-latest steps: @@ -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 @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index f614829..2619d65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", @@ -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"] From 150c61083be8376a0b223f0eef133984c26d9282 Mon Sep 17 00:00:00 2001 From: David Glick Date: Mon, 13 Jan 2025 22:17:53 -0800 Subject: [PATCH 2/2] update dev status trove classifier --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2619d65..36829a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",