From e1e28f14e3510ac7eefb94100542a32c78dff6a0 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 27 Sep 2020 12:28:15 -0700 Subject: [PATCH] fix venv install --- .ci/prep_azure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/prep_azure.py b/.ci/prep_azure.py index ffd44551..ef5d093d 100755 --- a/.ci/prep_azure.py +++ b/.ci/prep_azure.py @@ -57,7 +57,7 @@ if ci_lib.have_apt(): .format(pv=os.environ['PYTHONVERSION']) ]) if is_python3: - venv_steps.append('sudo apt-get -y install python3-venv') + venv_steps.append('sudo apt-get -y install python{pv}-venv'.format(os.environ['PYTHONVERSION'])) # TODO: somehow `Mito36CentOS6_26` has both brew and apt installed https://dev.azure.com/dw-mitogen/Mitogen/_build/results?buildId=1031&view=logs&j=7bdbcdc6-3d3e-568d-ccf8-9ddca1a9623a&t=73d379b6-4eea-540f-c97e-046a2f620483 elif is_python3 and ci_lib.have_brew(): # Mac's System Integrity Protection prevents symlinking /usr/bin