From 406a18dd90e68055b82b24bb11489828ffb90f59 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Mon, 14 Sep 2026 17:11:53 +0200 Subject: [PATCH] uharfbuzz: pin the wheel version to avoid a setuptools_scm dev version The riscv64-compat patch (staging the vendored HarfBuzz licence) leaves the checkout dirty relative to the v0.56.0 tag; without SETUPTOOLS_SCM_PRETEND_VERSION, setuptools_scm computes the version from git state instead of the clean 0.56.0. --- .github/workflows/build-uharfbuzz.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-uharfbuzz.yml b/.github/workflows/build-uharfbuzz.yml index 2381982b26..512f0ecda6 100644 --- a/.github/workflows/build-uharfbuzz.yml +++ b/.github/workflows/build-uharfbuzz.yml @@ -78,6 +78,9 @@ jobs: CIBW_BUILD: cp310-${{ matrix.libc }}_riscv64 CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} CIBW_MUSLLINUX_RISCV64_IMAGE: ${{ env.MUSLLINUX_RISCV64_IMAGE }} + # The riscv64-compat patch leaves the checkout dirty relative to the + # tag, so setuptools_scm would otherwise compute a dev version. + CIBW_ENVIRONMENT: SETUPTOOLS_SCM_PRETEND_VERSION=${{ env.UHARFBUZZ_VERSION }} # Upstream's own repair-wheel-command pipes into a pipx-installed # abi3audit, which the riscv64 image doesn't carry (gotcha 217); # cibuildwheel's own default audit-command already abi3audits every