Skip to content

Commit 5635144

Browse files
committed
Update for Python 3.14
Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent 3aa834c commit 5635144

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/python.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v6
2828
with:
29-
python-version: '3.13'
29+
python-version: '3.14'
3030
- name: Install dependencies
3131
run: python -m pip install pre-commit
3232
- name: Cache pre-commit environments
@@ -50,11 +50,11 @@ jobs:
5050
strategy:
5151
matrix:
5252
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
53-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
53+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
5454
openslide: [system, wheel]
5555
include:
5656
- os: ubuntu-latest
57-
python-version: "3.13"
57+
python-version: "3.14"
5858
openslide: system
5959
sdist: sdist
6060
steps:
@@ -165,7 +165,7 @@ jobs:
165165
shell: bash
166166
strategy:
167167
matrix:
168-
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14-dev"]
168+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
169169
openslide: [zip, wheel]
170170
steps:
171171
- name: Check out repo
@@ -259,7 +259,7 @@ jobs:
259259
- name: Set up Python
260260
uses: actions/setup-python@v6
261261
with:
262-
python-version: '3.13'
262+
python-version: '3.14'
263263
- name: Install Python tools
264264
run: |
265265
python -m pip install --upgrade pip

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: 3.11",
2424
"Programming Language :: Python :: 3.12",
2525
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
2627
"Topic :: Scientific/Engineering :: Bio-Informatics",
2728
"Typing :: Typed",
2829
]
@@ -51,7 +52,7 @@ openslide = ["py.typed", "*.pyi"]
5152

5253
[tool.black]
5354
skip-string-normalization = true
54-
target-version = ["py39", "py310", "py311", "py312", "py313"]
55+
target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]
5556

5657
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
5758
[tool.codespell]

0 commit comments

Comments
 (0)