Skip to content

Commit f3ceff2

Browse files
committed
fix: use system python3 with apt-installed venv instead of /opt/python
1 parent c67cb22 commit f3ceff2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build-riscv64.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ jobs:
2828
2929
- name: Set up Python
3030
run: |
31-
export PATH="$(ls -d /opt/python-3.1*/bin 2>/dev/null | sort -V | tail -1):$PATH"
32-
python3 -m venv --without-pip /tmp/build-venv
31+
sudo apt-get install -y python3-venv python3-pip
32+
python3 -m venv /tmp/build-venv
3333
. /tmp/build-venv/bin/activate
34-
curl -sS https://bootstrap.pypa.io/get-pip.py | python3
3534
pip install --upgrade pip setuptools wheel
3635
3736
- name: Build wheel

0 commit comments

Comments
 (0)