Skip to content

Commit

Permalink
Support Python 3.13 for cookieplone itself
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Jan 14, 2025
1 parent 0c36dce commit cdc9930
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 cdc9930

Please sign in to comment.