From 1a83ca75b93a876a56a14292c94c43c798d82164 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Fri, 6 Mar 2026 09:56:34 +0100 Subject: [PATCH] Manually install uv (#115) * Manually install uv * Use official * Use plain build for RISC-V * Musl too * Disable setup-uv cache To make Zizmor shut up --- .github/workflows/wheels.yml | 4 ++++ pyproject.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index e6ca2bf..4f50b88 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -38,6 +38,10 @@ jobs: fetch-tags: true persist-credentials: false + - uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1 + with: + enable-cache: false + - name: Set up QEMU for RISC-V emulation if: matrix.cibw_archs == 'riscv64' uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0 diff --git a/pyproject.toml b/pyproject.toml index 85a1a32..3d63fad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,6 +79,10 @@ enable = ["pypy", "pypy-eol"] before-all = "uname -a" test-command = 'python -Ic "from _argon2_cffi_bindings import ffi, lib; print(lib.ARGON2_VERSION_NUMBER)"' +[[tool.cibuildwheel.overrides]] +select = "*linux_riscv64" +build-frontend = "build" + [tool.cibuildwheel.macos] # PyPy has no universal2, so let's build them all, always. archs = ["all"]