Skip to content

Commit 067fd05

Browse files
committed
Add support for Python 3.14
1 parent 6c7aa97 commit 067fd05

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/QA.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v6
1616
with:
17-
python-version: "3.13"
17+
python-version: "3.14"
1818
architecture: x64
1919

2020
- name: Install dependencies (and project)

.github/workflows/Tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [macos-13, windows-2022, ubuntu-24.04]
16-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
16+
python: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1717

1818
steps:
1919
- uses: actions/checkout@v5
@@ -38,7 +38,7 @@ jobs:
3838
run: inv coverage --args "-vvv"
3939

4040
- name: Upload coverage report to codecov
41-
if: matrix.os == 'ubuntu-24.04' && matrix.python == '3.13'
41+
if: matrix.os == 'ubuntu-24.04' && matrix.python == '3.14'
4242
uses: codecov/codecov-action@v5
4343
with:
4444
fail_ci_if_error: true

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: 2
66
build:
77
os: ubuntu-24.04
88
tools:
9-
python: '3.13'
9+
python: '3.14'
1010

1111
# custom commands to run mkdocs build within hatch, as suggested by maintainer in
1212
# https://github.com/readthedocs/readthedocs.org/issues/10706

pyproject.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta"
1111
[project]
1212
name = "libzim"
1313
version = "3.7.1-dev0"
14-
requires-python = ">=3.9,<3.14"
14+
requires-python = ">=3.9,<3.15"
1515
description = "A python-facing API for creating and interacting with ZIM files"
1616
authors = [
1717
{name = "openZIM", email = "[email protected]"},
@@ -35,6 +35,7 @@ classifiers = [
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
3737
"Programming Language :: Python :: 3.13",
38+
"Programming Language :: Python :: 3.14",
3839
"Typing :: Stubs Only",
3940
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
4041
"Operating System :: MacOS",
@@ -168,7 +169,7 @@ features = ["scripts", "test"]
168169
PROFILE = "1"
169170

170171
[[tool.hatch.envs.test.matrix]]
171-
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]
172+
python = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
172173

173174
[tool.hatch.envs.test.scripts]
174175
run = "inv test --args '{args}'"
@@ -206,10 +207,10 @@ all = "inv checkall --args '{args}'"
206207

207208
[tool.black]
208209
line-length = 88
209-
target-version = ['py312']
210+
target-version = ['py314']
210211

211212
[tool.ruff]
212-
target-version = "py312"
213+
target-version = "py314"
213214
line-length = 88
214215
src = ["src"]
215216

@@ -336,6 +337,6 @@ exclude_lines = [
336337
[tool.pyright]
337338
include = ["libzim", "tests", "tasks.py"]
338339
exclude = [".env/**", ".venv/**"]
339-
pythonVersion = "3.13"
340+
pythonVersion = "3.14"
340341
typeCheckingMode="basic"
341342
disableBytesTypePromotions = true

0 commit comments

Comments
 (0)