From 65640e29185bc241806121e50ba30867fcf5e302 Mon Sep 17 00:00:00 2001 From: sdcoffey Date: Fri, 13 Mar 2026 17:16:24 -0700 Subject: [PATCH] ci: avoid publishing musl runtime wheels to PyPI --- .github/workflows/rust-release.yml | 38 +++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index f805c8e79c..4a1cf4a759 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -649,12 +649,44 @@ jobs: name: pypi steps: - - name: Download Python runtime wheels + # Do not publish musl runtime wheels to PyPI yet. GNU and musl builds for + # the same architecture currently infer the same wheel tag, which can make + # the published Linux runtime nondeterministic. + - name: Download macOS arm64 runtime wheel uses: actions/download-artifact@v8 with: - pattern: python-runtime-* + name: python-runtime-aarch64-apple-darwin + path: dist-pypi/runtime + + - name: Download macOS x64 runtime wheel + uses: actions/download-artifact@v8 + with: + name: python-runtime-x86_64-apple-darwin + path: dist-pypi/runtime + + - name: Download Linux GNU arm64 runtime wheel + uses: actions/download-artifact@v8 + with: + name: python-runtime-aarch64-unknown-linux-gnu + path: dist-pypi/runtime + + - name: Download Linux GNU x64 runtime wheel + uses: actions/download-artifact@v8 + with: + name: python-runtime-x86_64-unknown-linux-gnu + path: dist-pypi/runtime + + - name: Download Windows arm64 runtime wheel + uses: actions/download-artifact@v8 + with: + name: python-runtime-aarch64-pc-windows-msvc + path: dist-pypi/runtime + + - name: Download Windows x64 runtime wheel + uses: actions/download-artifact@v8 + with: + name: python-runtime-x86_64-pc-windows-msvc path: dist-pypi/runtime - merge-multiple: true - name: List runtime wheels shell: bash