From 3b8e9e488b396a2317d2ef269f011c2fcc685e84 Mon Sep 17 00:00:00 2001 From: Bruno Verachten Date: Sun, 3 May 2026 22:15:28 +0200 Subject: [PATCH] fix: replace hardcoded /opt/python-3.12 path with actions/setup-python The RISE riscv64 runner image was rebuilt on 2026-04-22 and no longer ships /opt/python-3.12. Use actions/setup-python@v5 instead. Signed-off-by: Bruno Verachten --- .github/workflows/wheel-builder.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index e8f3cf5..a7541ad 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -153,7 +153,10 @@ jobs: key: bcrypt-riscv64-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: | bcrypt-riscv64-cargo- - - run: /opt/python-3.12/bin/python3.12 -m venv .venv + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - run: python3 -m venv .venv - name: Install python dependencies run: .venv/bin/pip install -U pip wheel setuptools-rust auditwheel - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c