From c814b465165e0c6de566d760c5ac2608c79f32c8 Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 15 Oct 2024 18:24:25 +1100 Subject: [PATCH] Add Python 3.13 to CI and testing matrix (#149) * Add Python 3.13 to CI and testing matrix * Simplify PR template * Add 3.13 to PyPI classifiers and use it as default for project --- .github/pull_request_template.md | 2 +- .github/workflows/ci_cd.yml | 3 ++- pyproject.toml | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index b4a4798..5df503c 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,7 +1,7 @@ ## Description - + ## PR Checklist diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 8b8501c..7f96666 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -47,7 +47,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' cache: 'pip' - name: Install hatch @@ -70,6 +70,7 @@ jobs: matrix: py: - 'pypy3.10' + - '3.13' - '3.12' - '3.11' - '3.10' diff --git a/pyproject.toml b/pyproject.toml index 404f43e..ec0752f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", ] @@ -50,7 +51,7 @@ packages = ["src/pook"] packages = ["src/pook"] [tool.hatch.envs.default] -python = "3.12" +python = "3.13" extra-dependencies = [ "pre-commit~=4.0", "mypy>=1.11.2", @@ -96,7 +97,7 @@ build = "hatch run apidocs; hatch run htmldocs" [tool.hatch.envs.test] [[tool.hatch.envs.test.matrix]] -python = ["3.9", "3.10", "3.11", "3.12", "pypy3.10"] +python = ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"] [tool.pytest.ini_options] asyncio_mode = "auto"