diff --git a/.github/workflows/CI-wheels.yaml b/.github/workflows/CI-wheels.yaml index 4aaf90c..c89bc1f 100644 --- a/.github/workflows/CI-wheels.yaml +++ b/.github/workflows/CI-wheels.yaml @@ -7,7 +7,7 @@ on: - main env: - LIBZIM_DL_VERSION: "9.8.2" + LIBZIM_DL_VERSION: "9.8.2-1" MACOSX_DEPLOYMENT_TARGET: "13.0" CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION" CIBW_BUILD_VERBOSITY: "3" @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-14, windows-2022, ubuntu-24.04] + os: [macos-26, windows-2025, ubuntu-26.04] steps: - uses: actions/checkout@v7 @@ -31,7 +31,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v4.2 + uses: pypa/cibuildwheel@v4.3 - uses: actions/upload-artifact@v7 with: diff --git a/.github/workflows/Publish.yaml b/.github/workflows/Publish.yaml index 41c2d01..34f42af 100644 --- a/.github/workflows/Publish.yaml +++ b/.github/workflows/Publish.yaml @@ -6,7 +6,7 @@ on: - published env: - LIBZIM_DL_VERSION: "9.8.2" + LIBZIM_DL_VERSION: "9.8.2-1" MACOSX_DEPLOYMENT_TARGET: "13.0" CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION" # APPLE_SIGNING_KEYCHAIN_PATH set in prepare keychain step @@ -22,7 +22,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-24.04, macos-14, windows-2022] + os: [ubuntu-26.04, macos-26, windows-2025] steps: - uses: actions/checkout@v7 @@ -34,7 +34,7 @@ jobs: platforms: all - name: Prepare Apple Keychain for Signing - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-26' shell: bash run: | # store certificate on filesystem @@ -68,10 +68,10 @@ jobs: security unlock-keychain -p mysecretpassword ${APPLE_SIGNING_KEYCHAIN_PATH} - name: Build wheels - uses: pypa/cibuildwheel@v4.2 + uses: pypa/cibuildwheel@v4.3 - name: Cleanup Apple Keychain - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-26' shell: bash run: | security lock-keychain ${APPLE_SIGNING_KEYCHAIN_PATH} @@ -109,15 +109,15 @@ jobs: path: dist - uses: actions/download-artifact@v8 with: - name: wheels-ubuntu-24.04 + name: wheels-ubuntu-26.04 path: dist - uses: actions/download-artifact@v8 with: - name: wheels-macos-14 + name: wheels-macos-26 path: dist - uses: actions/download-artifact@v8 with: - name: wheels-windows-2022 + name: wheels-windows-2025 path: dist - uses: pypa/gh-action-pypi-publish@v1.14.2 diff --git a/.github/workflows/QA.yaml b/.github/workflows/QA.yaml index a614b92..602cb5b 100644 --- a/.github/workflows/QA.yaml +++ b/.github/workflows/QA.yaml @@ -2,12 +2,12 @@ name: QA on: [push] env: - LIBZIM_DL_VERSION: "9.8.2" + LIBZIM_DL_VERSION: "9.8.2-1" MACOSX_DEPLOYMENT_TARGET: "13.0" jobs: lint: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 2c47894..b440a12 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -2,7 +2,7 @@ name: Tests on: [push] env: - LIBZIM_DL_VERSION: "9.8.2" + LIBZIM_DL_VERSION: "9.8.2-1" MACOSX_DEPLOYMENT_TARGET: "13.0" # we want cython traces for coverage PROFILE: "1" @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-14, macos-15, macos-15-intel, windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04] + os: [macos-15, macos-26, macos-15-intel, macos-26-intel, windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04, ubuntu-26.04] python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] steps: @@ -39,7 +39,7 @@ jobs: run: inv coverage --args "-vvv" - name: Upload coverage report to codecov - if: matrix.os == 'ubuntu-24.04' && matrix.python == '3.14' + if: matrix.os == 'ubuntu-26.04' && matrix.python == '3.14' uses: codecov/codecov-action@v7 with: fail_ci_if_error: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6118ee..a09328e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,15 +7,15 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/psf/black - rev: "26.5.1" + rev: "26.10.0" hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.5 + rev: v0.16.10 hooks: - id: ruff - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.411 + rev: v1.1.414 hooks: - id: pyright name: pyright (system) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1f1124..cc7b48c 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.8.2-1 and upgrade other Python dependencies (#269) + ## [3.13.0] - 2026-09-07 ### Changed diff --git a/pyproject.toml b/pyproject.toml index 199c03a..dbba621 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,13 +49,13 @@ scripts = [ "invoke==3.0.3", ] lint = [ - "black==26.5.1", - "ruff==0.16.5", + "black==26.10.0", + "ruff==0.16.10", "libzim", "libzim[build]", ] check = [ - "pyright==1.1.411", + "pyright==1.1.414", "libzim", "libzim[build]", "libzim[test]", @@ -63,7 +63,7 @@ check = [ ] test = [ "pytest==9.1.1", - "coverage==7.15.4", + "coverage==7.16.2", # for cython coverage plugin "libzim[build]", ] @@ -75,17 +75,17 @@ build = [ ] docs = [ "mkdocs==1.6.1", - "mkdocstrings-python==2.0.7", + "mkdocstrings-python==2.0.9", "mkdocs-material==9.7.7", - "pymdown-extensions==11.0.2", + "pymdown-extensions==12.1", "mkdocs-gen-files==0.6.1", "mkdocs-literate-nav==0.6.3", "mkdocs-include-markdown-plugin==7.3.0", - "griffe==2.2.0", + "griffe==2.3.0", ] dev = [ "pre-commit==4.6.2", - "ipython==9.17.0", + "ipython==9.17.1", "types-setuptools", "libzim[scripts]", "libzim[lint]", diff --git a/setup.py b/setup.py index 73ad0a3..731d367 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ class Config: - libzim_dl_version: str = os.getenv("LIBZIM_DL_VERSION", "9.8.2") + libzim_dl_version: str = os.getenv("LIBZIM_DL_VERSION", "9.8.2-1") use_system_libzim: bool = bool(os.getenv("USE_SYSTEM_LIBZIM") or False) download_libzim: bool = not bool(os.getenv("DONT_DOWNLOAD_LIBZIM") or False)