Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
14 changes: 7 additions & 7 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.4.0-1"
LIBZIM_DL_VERSION: "9.5.1"
MACOSX_DEPLOYMENT_TARGET: "13.0"
CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION"
CIBW_BUILD_VERBOSITY: "3"
Expand All @@ -22,18 +22,18 @@ jobs:
os: [macos-14, windows-2022, ubuntu-24.04]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v3.2
uses: pypa/cibuildwheel@v3.4

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v7
with:
name: wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl
Expand All @@ -42,12 +42,12 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v7
with:
name: sdist
path: dist/*.tar.gz
22 changes: 11 additions & 11 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.4.0-1"
LIBZIM_DL_VERSION: "9.5.1"
MACOSX_DEPLOYMENT_TARGET: "13.0"
CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION"
# APPLE_SIGNING_KEYCHAIN_PATH set in prepare keychain step
Expand All @@ -25,11 +25,11 @@ jobs:
os: [ubuntu-24.04, macos-14, windows-2022]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: all

Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
security unlock-keychain -p mysecretpassword ${APPLE_SIGNING_KEYCHAIN_PATH}

- name: Build wheels
uses: pypa/cibuildwheel@v3.2
uses: pypa/cibuildwheel@v3.4

- name: Cleanup Apple Keychain
if: matrix.os == 'macos-14'
Expand All @@ -78,7 +78,7 @@ jobs:
security delete-keychain ${APPLE_SIGNING_KEYCHAIN_PATH}
rm -f ${APPLE_SIGNING_KEYCHAIN_PATH}

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v7
with:
name: wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl
Expand All @@ -87,12 +87,12 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v5
- uses: actions/upload-artifact@v7
with:
name: sdist
path: dist/*.tar.gz
Expand All @@ -103,19 +103,19 @@ jobs:
environment: release
steps:
# retrieve all artifacts
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: sdist
path: dist
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: wheels-ubuntu-24.04
path: dist
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: wheels-macos-14
path: dist
- uses: actions/download-artifact@v6
- uses: actions/download-artifact@v8
with:
name: wheels-windows-2022
path: dist
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,14 +2,14 @@ name: QA
on: [push]

env:
LIBZIM_DL_VERSION: "9.4.0-1"
LIBZIM_DL_VERSION: "9.5.1"
MACOSX_DEPLOYMENT_TARGET: "13.0"

jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
Expand Down
4 changes: 2 additions & 2 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.4.0-1"
LIBZIM_DL_VERSION: "9.5.1"
MACOSX_DEPLOYMENT_TARGET: "13.0"
# we want cython traces for coverage
PROFILE: "1"
Expand All @@ -16,7 +16,7 @@ jobs:
python: ["3.10", "3.11", "3.12", "3.13", "3.13t", "3.14", "3.14t"]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v6
Expand Down
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

* fixed broken links in docs

### Added
- Added Changelog to docs.

- Added Changelog to docs (#227)

### Changed

- Upgrade to libzim 9.5.1 (#xxx)

### Fixed

- Fixed broken links in docs (#246)

## [3.8.0] - 2025-11-14

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.4.0-1")
libzim_dl_version: str = os.getenv("LIBZIM_DL_VERSION", "9.5.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
2 changes: 1 addition & 1 deletion tests/test_libzim_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def test_reader_get_random_entry(all_zims):
@pytest.mark.parametrize(*parametrize_for(["filename"]))
def test_cluster_cache(all_zims, filename):
zim = Archive(all_zims / filename)
default_value = 536870912 # 512M
default_value = 16777216 # 16M
new_value = 1024

assert get_cluster_cache_max_size() == default_value
Expand Down
Loading