Skip to content

Commit bd4b3e0

Browse files
committed
Update other Python dependencies
1 parent 9dd0639 commit bd4b3e0

File tree

4 files changed

+25
-31
lines changed

4 files changed

+25
-31
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
- Upgrade to libzim 9.5.1 (#xxx)
16+
- Upgrade to libzim 9.5.1 and upgrade other Python dependencies, especially Cython 3.2.4 (#xxx)
1717

1818
### Fixed
1919

docs/scripts/generate_api_nav.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,14 @@
4747

4848
# Create a document with mkdocstrings placeholders.
4949
with mkdocs_gen_files.open(full_doc_path, "w") as fd:
50-
fd.write(
51-
f"""---
50+
fd.write(f"""---
5251
title: {identifier}
5352
---
5453
5554
5655
::: {identifier}
5756
{module_options}
58-
"""
59-
)
57+
""")
6058

6159
# Make the edit button on the page link to the source file.
6260
mkdocs_gen_files.set_edit_path(full_doc_path, Path("..") / path.relative_to(root))

pyproject.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[build-system]
22
requires = [
3-
"setuptools == 80.9.0",
4-
"wheel == 0.45.1",
5-
"cython == 3.1.6",
3+
"setuptools == 82.0.1",
4+
"wheel == 0.46.3",
5+
"cython == 3.2.4",
66
# https://github.com/pypa/cibuildwheel/blob/v2.22/cibuildwheel/resources/constraints.txt
77
"delocate == 0.13.0 ; platform_system=='Windows'",
88
]
@@ -46,46 +46,46 @@ Donate = "https://www.kiwix.org/en/support-us/"
4646

4747
[project.optional-dependencies]
4848
scripts = [
49-
"invoke==2.2.0",
49+
"invoke==2.2.1",
5050
]
5151
lint = [
52-
"black==25.9.0",
53-
"ruff==0.14.3",
52+
"black==26.3.1",
53+
"ruff==0.15.7",
5454
"libzim",
5555
"libzim[build]",
5656
]
5757
check = [
58-
"pyright==1.1.407",
58+
"pyright==1.1.408",
5959
"libzim",
6060
"libzim[build]",
6161
"libzim[test]",
6262
"types-setuptools",
6363
]
6464
test = [
65-
"pytest==8.4.2",
66-
"coverage==7.11.0",
65+
"pytest==9.0.2",
66+
"coverage==7.13.5",
6767
# for cython coverage plugin
6868
"libzim[build]",
6969
]
7070
build = [
71-
"setuptools == 80.9.0",
72-
"wheel == 0.45.1",
73-
"cython == 3.1.6",
71+
"setuptools == 82.0.1",
72+
"wheel == 0.46.3",
73+
"cython == 3.2.4",
7474
"delocate == 0.13.0 ; platform_system=='Windows'",
7575
]
7676
docs = [
7777
"mkdocs==1.6.1",
78-
"mkdocstrings-python==1.18.2",
79-
"mkdocs-material==9.6.23",
80-
"pymdown-extensions==10.16.1",
81-
"mkdocs-gen-files==0.5.0",
82-
"mkdocs-literate-nav==0.6.2",
83-
"mkdocs-include-markdown-plugin==7.2.0",
84-
"griffe==1.14.0",
78+
"mkdocstrings-python==2.0.3",
79+
"mkdocs-material==9.7.6",
80+
"pymdown-extensions==10.21",
81+
"mkdocs-gen-files==0.6.1",
82+
"mkdocs-literate-nav==0.6.3",
83+
"mkdocs-include-markdown-plugin==7.2.1",
84+
"griffe==2.0.0",
8585
]
8686
dev = [
87-
"pre-commit==4.3.0",
88-
"ipython==9.6.0",
87+
"pre-commit==4.5.1",
88+
"ipython==9.11.0",
8989
"types-setuptools",
9090
"libzim[scripts]",
9191
"libzim[lint]",

tests/test_libzim_creator.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,7 @@ def get_creator_output(fpath, verbose):
157157
from libzim.writer import Creator
158158
with Creator(r"{fpath}").config_verbose({verbose}) as creator:
159159
pass
160-
""".replace(
161-
"{fpath}", str(fpath)
162-
).replace(
163-
"{verbose}", str(verbose)
164-
)
160+
""".replace("{fpath}", str(fpath)).replace("{verbose}", str(verbose))
165161

166162
# Build command with appropriate GIL settings for free-threaded Python
167163
cmd = [sys.executable]

0 commit comments

Comments
 (0)