Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/CI-wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/Publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/QA.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ 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]",
"types-setuptools",
]
test = [
"pytest==9.1.1",
"coverage==7.15.4",
"coverage==7.16.2",
# for cython coverage plugin
"libzim[build]",
]
Expand All @@ -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]",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
Loading