Skip to content

Commit f86bb3b

Browse files
committed
Fixed #208: Add support for Python3.13
No code nor dependency change required but we need to build, test and publish it.
1 parent a5fb036 commit f86bb3b

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/QA.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- name: Set up Python ${{ matrix.python }}
1515
uses: actions/setup-python@v5
1616
with:
17+
# to update to 3.13 once it lands in GH image
1718
python-version: "3.12"
1819
architecture: x64
1920

.github/workflows/Tests.yaml

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

1818
steps:
1919
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta"
1010
[project]
1111
name = "libzim"
1212
version = "3.6.0.dev0"
13-
requires-python = ">=3.9,<3.13"
13+
requires-python = ">=3.9,<3.14"
1414
description = "A python-facing API for creating and interacting with ZIM files"
1515
authors = [
1616
{name = "openZIM", email = "dev@kiwix.org"},
@@ -33,6 +33,7 @@ classifiers = [
3333
"Programming Language :: Python :: 3.10",
3434
"Programming Language :: Python :: 3.11",
3535
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
3637
"Typing :: Stubs Only",
3738
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
3839
"Operating System :: MacOS",
@@ -155,7 +156,7 @@ features = ["scripts", "test"]
155156
PROFILE = "1"
156157

157158
[[tool.hatch.envs.test.matrix]]
158-
python = ["3.9", "3.10", "3.11", "3.12"]
159+
python = ["3.9", "3.10", "3.11", "3.12", "3.13"]
159160

160161
[tool.hatch.envs.test.scripts]
161162
run = "inv test --args '{args}'"
@@ -316,6 +317,6 @@ exclude_lines = [
316317
[tool.pyright]
317318
include = ["libzim", "tests", "tasks.py"]
318319
exclude = [".env/**", ".venv/**"]
319-
pythonVersion = "3.12"
320+
pythonVersion = "3.13"
320321
typeCheckingMode="basic"
321322
disableBytesTypePromotions = true

0 commit comments

Comments
 (0)