Skip to content

Commit 19a9da7

Browse files
committed
fix: use --without-pip venv + get-pip.py (ensurepip broken on RISE runner)
1 parent f3ceff2 commit 19a9da7

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-riscv64.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ jobs:
2828
2929
- name: Set up Python
3030
run: |
31-
sudo apt-get install -y python3-venv python3-pip
32-
python3 -m venv /tmp/build-venv
31+
sudo apt-get install -y python3-venv python3-pip python3-dev
32+
python3 -m venv --without-pip /tmp/build-venv
3333
. /tmp/build-venv/bin/activate
34-
pip install --upgrade pip setuptools wheel
34+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
35+
pip install --upgrade setuptools wheel
3536
3637
- name: Build wheel
3738
run: |

0 commit comments

Comments
 (0)