Skip to content

Commit eb09255

Browse files
committed
Add support to Python 3.13
1 parent 041c66b commit eb09255

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

.github/workflows/release-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.12"
21+
python-version: "3.13"
2222

2323
- name: Upgrade pip
2424
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Python
2222
uses: actions/setup-python@v5
2323
with:
24-
python-version: "3.12"
24+
python-version: "3.13"
2525

2626
- name: Upgrade pip
2727
run: |

.github/workflows/tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,23 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
- { python: "3.12", os: "ubuntu-latest", session: "pre-commit" }
16-
- { python: "3.12", os: "ubuntu-latest", session: "safety" }
15+
- { python: "3.13", os: "ubuntu-latest", session: "pre-commit" }
16+
- { python: "3.13", os: "ubuntu-latest", session: "safety" }
17+
- { python: "3.13", os: "ubuntu-latest", session: "mypy" }
1718
- { python: "3.12", os: "ubuntu-latest", session: "mypy" }
1819
- { python: "3.11", os: "ubuntu-latest", session: "mypy" }
1920
- { python: "3.10", os: "ubuntu-latest", session: "mypy" }
2021
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
22+
- { python: "3.13", os: "ubuntu-latest", session: "tests" }
2123
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
2224
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
2325
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
2426
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
25-
- { python: "3.12", os: "windows-latest", session: "tests" }
26-
- { python: "3.12", os: "macos-latest", session: "tests" }
27-
- { python: "3.12", os: "ubuntu-latest", session: "typeguard" }
28-
- { python: "3.12", os: "ubuntu-latest", session: "xdoctest" }
29-
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" }
27+
- { python: "3.13", os: "windows-latest", session: "tests" }
28+
- { python: "3.13", os: "macos-latest", session: "tests" }
29+
- { python: "3.13", os: "ubuntu-latest", session: "typeguard" }
30+
- { python: "3.13", os: "ubuntu-latest", session: "xdoctest" }
31+
- { python: "3.13", os: "ubuntu-latest", session: "docs-build" }
3032

3133
steps:
3234
- name: Check out the repository
@@ -100,7 +102,7 @@ jobs:
100102
- name: Set up Python
101103
uses: actions/setup-python@v5
102104
with:
103-
python-version: "3.12"
105+
python-version: "3.13"
104106

105107
- name: Upgrade pip
106108
run: |
@@ -118,6 +120,7 @@ jobs:
118120
- name: Combine coverage data and display human readable report
119121
run: |
120122
shopt -s dotglob
123+
mv coverage-data-3.13-ubuntu-latest/* .
121124
mv coverage-data-3.12-ubuntu-latest/* .
122125
mv coverage-data-3.11-ubuntu-latest/* .
123126
mv coverage-data-3.10-ubuntu-latest/* .

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ classifiers = [
1313
"Programming Language :: Python :: 3.10",
1414
"Programming Language :: Python :: 3.11",
1515
"Programming Language :: Python :: 3.12",
16+
"Programming Language :: Python :: 3.13",
1617
]
1718
requires-python = ">=3.9"
1819
dependencies = []
@@ -57,7 +58,7 @@ run-xdoctest = [ "hatch run xdoctest:run" ]
5758
run-docs-build = [ "hatch run docs-build:run" ]
5859

5960
[[tool.hatch.envs.sessions.matrix]]
60-
python = ["3.9", "3.10", "3.11", "3.12"]
61+
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]
6162

6263
[tool.hatch.envs.pre-commit]
6364
dependencies = [

0 commit comments

Comments
 (0)