From ba3c00b466f887680f7cf83a200db4e5b46376b5 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Tue, 19 May 2026 09:07:01 +0000 Subject: [PATCH] Upgrade to libzim 9.7.0 --- .github/workflows/CI-wheels.yaml | 2 +- .github/workflows/Publish.yaml | 2 +- .github/workflows/QA.yaml | 2 +- .github/workflows/Tests.yaml | 2 +- CHANGELOG.md | 4 ++++ pyproject.toml | 2 +- setup.py | 2 +- tests/test_libzim_creator.py | 4 ++-- 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI-wheels.yaml b/.github/workflows/CI-wheels.yaml index 8d01c88..2da0227 100644 --- a/.github/workflows/CI-wheels.yaml +++ b/.github/workflows/CI-wheels.yaml @@ -7,7 +7,7 @@ on: - main env: - LIBZIM_DL_VERSION: "9.5.1" + LIBZIM_DL_VERSION: "9.7.0" MACOSX_DEPLOYMENT_TARGET: "13.0" CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION" CIBW_BUILD_VERBOSITY: "3" diff --git a/.github/workflows/Publish.yaml b/.github/workflows/Publish.yaml index 268843d..55747a7 100644 --- a/.github/workflows/Publish.yaml +++ b/.github/workflows/Publish.yaml @@ -6,7 +6,7 @@ on: - published env: - LIBZIM_DL_VERSION: "9.5.1" + LIBZIM_DL_VERSION: "9.7.0" MACOSX_DEPLOYMENT_TARGET: "13.0" CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION" # APPLE_SIGNING_KEYCHAIN_PATH set in prepare keychain step diff --git a/.github/workflows/QA.yaml b/.github/workflows/QA.yaml index dfdd382..fd55dfe 100644 --- a/.github/workflows/QA.yaml +++ b/.github/workflows/QA.yaml @@ -2,7 +2,7 @@ name: QA on: [push] env: - LIBZIM_DL_VERSION: "9.5.1" + LIBZIM_DL_VERSION: "9.7.0" MACOSX_DEPLOYMENT_TARGET: "13.0" jobs: diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index e6d5bf4..f60ccfa 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -2,7 +2,7 @@ name: Tests on: [push] env: - LIBZIM_DL_VERSION: "9.5.1" + LIBZIM_DL_VERSION: "9.7.0" MACOSX_DEPLOYMENT_TARGET: "13.0" # we want cython traces for coverage PROFILE: "1" diff --git a/CHANGELOG.md b/CHANGELOG.md index ec5caf1..4dedfa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- Upgrade to libzim 9.7.0 (#254) + ## [3.9.0] - 2026-03-24 ### Added diff --git a/pyproject.toml b/pyproject.toml index 9cb08c5..7bb643e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "setuptools == 82.0.1", - "wheel == 0.46.3", + "wheel == 0.47.0", "cython == 3.2.4", # https://github.com/pypa/cibuildwheel/blob/v2.22/cibuildwheel/resources/constraints.txt "delocate == 0.13.0 ; platform_system=='Windows'", diff --git a/setup.py b/setup.py index 4c7c93d..e1f84b9 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ class Config: - libzim_dl_version: str = os.getenv("LIBZIM_DL_VERSION", "9.5.1") + libzim_dl_version: str = os.getenv("LIBZIM_DL_VERSION", "9.7.0") use_system_libzim: bool = bool(os.getenv("USE_SYSTEM_LIBZIM") or False) download_libzim: bool = not bool(os.getenv("DONT_DOWNLOAD_LIBZIM") or False) diff --git a/tests/test_libzim_creator.py b/tests/test_libzim_creator.py index 5d63004..1774f10 100644 --- a/tests/test_libzim_creator.py +++ b/tests/test_libzim_creator.py @@ -187,9 +187,9 @@ def test_creator_verbose(fpath, verbose): lines = output.splitlines() if verbose: assert "T:" in output - assert len(lines) >= 5 + assert len(lines) >= 7 else: - assert len(lines) == 2 + assert len(lines) == 4 def test_creator_compression(fpath, lipsum_item):