Skip to content

Commit 4077eaf

Browse files
committed
fix: python version
1 parent 1ee4697 commit 4077eaf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
apt update &&
3333
apt install -y software-properties-common curl &&
3434
add-apt-repository ppa:deadsnakes/ppa -y &&
35-
apt install -y python${PY_VER} python${PY_VER}-dev python${PY_VER}-venv &&
36-
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PY_VER} 1 &&
37-
python3 -m ensurepip &&
38-
python3 -m pip install --upgrade pip
35+
apt install -y python$PY_VER python$PY_VER-dev python$PY_VER-venv &&
36+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PY_VER 1 &&
37+
python3 -m venv /tmp/venv &&
38+
/tmp/venv/bin/pip install --upgrade pip
3939
"
4040
docker exec xqueue bash -c "python3 --version && which python3"
4141

0 commit comments

Comments
 (0)