Skip to content

Commit 197dde2

Browse files
committed
using nightly with hack for aarch64
1 parent f938116 commit 197dde2

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: test
22
on: [push]
33

44
env:
5-
LIBZIM_DL_VERSION: "8.2.1"
5+
LIBZIM_DL_VERSION: "2023-08-01"
66

77
jobs:
88
lint:

.github/workflows/wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- main
88

99
env:
10-
LIBZIM_DL_VERSION: "8.2.1"
10+
LIBZIM_DL_VERSION: "2023-08-01"
1111
MACOSX_DEPLOYMENT_TARGET: "11.0"
1212
CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION"
1313
CIBW_BUILD_VERBOSITY: "3"

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ def _download_and_extract(self, filename: str) -> pathlib.Path:
197197
source_url = "http://download.openzim.org/release/libzim"
198198
if self.is_nightly:
199199
source_url = f"http://download.openzim.org/nightly/{self.libzim_dl_version}"
200+
# temp hack
201+
if self.arch == "aarch64" and self.platform == "Linux" and not self.is_musl:
202+
source_url = "http://tmp.kiwix.org/ci"
200203
url = f"{source_url}/{fpath.name}"
201204

202205
# download a local copy if none present

0 commit comments

Comments
 (0)