From b4209fac2e14ad83592cdafa42fd9d21cd1ff112 Mon Sep 17 00:00:00 2001 From: link2xt Date: Fri, 16 Jun 2023 19:13:26 +0000 Subject: [PATCH] ci(concourse): install venv before trying to use it This is a follow-up to cbe16711043988f48fe0f76ff795e2a150d50720 I changed `apt-get` arguments for x86_64 glibc builds, but forgot to change it for x86_64 musl, aarch64 glibc and aarch64 musl. Because of this, `upload-wheels` task failed with a message: ``` The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt install python3.11-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. ``` --- scripts/concourse/docs_wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/concourse/docs_wheels.yml b/scripts/concourse/docs_wheels.yml index c8f3b5b34..cc65d00fd 100644 --- a/scripts/concourse/docs_wheels.yml +++ b/scripts/concourse/docs_wheels.yml @@ -225,7 +225,7 @@ jobs: - -ec - | apt-get update -y - apt-get install -y --no-install-recommends python3-pip python3-setuptools + apt-get install -y --no-install-recommends python3-pip python3-setuptools python3-venv python3 -m venv env env/bin/pip install --upgrade pip env/bin/pip install devpi @@ -297,7 +297,7 @@ jobs: - -ec - | apt-get update -y - apt-get install -y --no-install-recommends python3-pip python3-setuptools + apt-get install -y --no-install-recommends python3-pip python3-setuptools python3-venv python3 -m venv env env/bin/pip install --upgrade pip env/bin/pip install devpi @@ -369,7 +369,7 @@ jobs: - -ec - | apt-get update -y - apt-get install -y --no-install-recommends python3-pip python3-setuptools + apt-get install -y --no-install-recommends python3-pip python3-setuptools python3-venv python3 -m venv env env/bin/pip install --upgrade pip env/bin/pip install devpi