From 6aabc792599f46490f9d1d6cba6f4b5645b486d2 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Mon, 14 Sep 2026 17:12:09 +0200 Subject: [PATCH] nodejs-wheel-binaries: pin the wheel version to avoid a setuptools_scm dev version The riscv64 OpenSSL patch leaves the checkout dirty relative to the v24.19.0 tag; without SETUPTOOLS_SCM_PRETEND_VERSION, setuptools_scm (via scikit-build-core) computes the version from git state and produces a dev-suffixed local version instead of the clean 24.19.0 (published so far: 24.19.1.dev0+g0a3c599f0.d20260907/d20260908). --- .github/workflows/build-nodejs-wheel-binaries.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-nodejs-wheel-binaries.yml b/.github/workflows/build-nodejs-wheel-binaries.yml index 2651a0c0f..128c699c3 100644 --- a/.github/workflows/build-nodejs-wheel-binaries.yml +++ b/.github/workflows/build-nodejs-wheel-binaries.yml @@ -61,6 +61,11 @@ jobs: only: cp312-manylinux_riscv64 env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.MANYLINUX_RISCV64_IMAGE }} + # The riscv64 OpenSSL patch leaves the checkout dirty relative to + # the tag, so setuptools_scm (via scikit-build-core) would + # otherwise compute a dev version (observed: published wheels came + # out as 24.19.1.dev0+g.d instead of the clean 24.19.0). + CIBW_ENVIRONMENT: SETUPTOOLS_SCM_PRETEND_VERSION=${{ env.NODEJS_WHEEL_BINARIES_VERSION }} - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: