Skip to content

Commit 4de76e9

Browse files
committed
Add support for Python 3.14
1 parent 6c7aa97 commit 4de76e9

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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: 5 additions & 4 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",
@@ -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)