diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3681ab72e..0eb20ad63 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -194,13 +194,19 @@ jobs: if: contains(fromJson('["s390x-unknown-linux-gnu", "loongarch64-unknown-linux-gnu", "riscv64gc-unknown-linux-gnu"]'), matrix.platform.target) with: targets: ${{ matrix.platform.target }} + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + # No need to take cache size for maturin in the release pipeline + enable-cache: "false" - name: Build wheel env: # Make psm compile, see https://github.com/rust-lang/stacker/issues/79 CFLAGS_s390x_unknown_linux_gnu: "-march=z10" run: | - sudo python3 -m pip install -U --pre maturin - maturin build --release -b bin -o dist \ + # TODO: Avoid pinning an explicit version here. This specific version avoid a regression in a later version + # See https://github.com/pyo3/maturin/pull/2922 + uvx maturin==1.10.1 build --release -b bin -o dist \ --target ${{ matrix.platform.target }} \ --compatibility ${{ matrix.platform.compatibility }} \ --features password-storage