diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 122b82d7..2ddb6ae3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: test on: [push] env: - LIBZIM_DL_VERSION: "8.2.1" + LIBZIM_DL_VERSION: "2023-08-01" jobs: lint: diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 6d990a3f..b0eb0ca5 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -7,7 +7,7 @@ on: - main env: - LIBZIM_DL_VERSION: "8.2.1" + LIBZIM_DL_VERSION: "2023-08-01" MACOSX_DEPLOYMENT_TARGET: "11.0" CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION" CIBW_BUILD_VERBOSITY: "3" diff --git a/setup.py b/setup.py index d8a92d29..67c35a3c 100755 --- a/setup.py +++ b/setup.py @@ -197,6 +197,9 @@ def _download_and_extract(self, filename: str) -> pathlib.Path: source_url = "http://download.openzim.org/release/libzim" if self.is_nightly: source_url = f"http://download.openzim.org/nightly/{self.libzim_dl_version}" + # temp hack + if self.arch == "aarch64" and self.platform == "Linux" and not self.is_musl: + source_url = "http://tmp.kiwix.org/ci" url = f"{source_url}/{fpath.name}" # download a local copy if none present