Skip to content

Commit

Permalink
Add Python 3.13 to CI and testing matrix (#149)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
sarayourfriend authored Oct 15, 2024
1 parent 4f0ccf2 commit c814b46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Description
<!--- Describe your changes in detail -->
<!--- What problem does this change solve? -->
<!--- If this PR relates to an issue, include Refs #XXX or Fixes #XXX -->
<!--- If this PR relates to an issue, include Fixes #XXX -->

## PR Checklist

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -70,6 +70,7 @@ jobs:
matrix:
py:
- 'pypy3.10'
- '3.13'
- '3.12'
- '3.11'
- '3.10'
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand All @@ -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",
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit c814b46

Please sign in to comment.