Skip to content

Commit c67cb22

Browse files
committed
fix: bootstrap pip in venv (ensurepip not available on RISE runners)
1 parent cdace9d commit c67cb22

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build-riscv64.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
- name: Set up Python
3030
run: |
3131
export PATH="$(ls -d /opt/python-3.1*/bin 2>/dev/null | sort -V | tail -1):$PATH"
32-
python3 -m venv /tmp/build-venv
32+
python3 -m venv --without-pip /tmp/build-venv
3333
. /tmp/build-venv/bin/activate
34+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
3435
pip install --upgrade pip setuptools wheel
3536
3637
- name: Build wheel

0 commit comments

Comments
 (0)