Skip to content

Commit 4c2ca83

Browse files
authored
Merge pull request #336 from bgilbert/py3.14
Update for Python 3.14
2 parents 161ca31 + 5635144 commit 4c2ca83

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
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

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ repos:
2323
args: ["--py39-plus"]
2424

2525
- repo: https://github.com/PyCQA/isort
26-
rev: 6.0.1
26+
rev: 6.1.0
2727
hooks:
2828
- id: isort
2929
name: Reorder python imports with isort
3030

3131
- repo: https://github.com/psf/black
32-
rev: 25.1.0
32+
rev: 25.9.0
3333
hooks:
3434
- id: black
3535
name: Format python code with black
3636

3737
- repo: https://github.com/asottile/blacken-docs
38-
rev: 1.19.1
38+
rev: 1.20.0
3939
hooks:
4040
- id: blacken-docs
4141
name: Format python code in documentation
@@ -54,7 +54,7 @@ repos:
5454
additional_dependencies: [flake8-bugbear, Flake8-pyproject]
5555

5656
- repo: https://github.com/pre-commit/mirrors-mypy
57-
rev: v1.17.1
57+
rev: v1.18.2
5858
hooks:
5959
- id: mypy
6060
name: Check Python types

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)