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