python venv madness round 2: use ensurepip if installed (#308)
When creating a python venv during the install_dependencies script, we try to use ensurepip if it is installed, as it deals better with cases where multiple venvs are active simultaneously. (as seen in CI buildbot)
[ROCm/rocshmem commit: b7a6d86c6b]
Este cometimento está contido em:
cometido por
GitHub
ascendente
76e8750d88
cometimento
51cf7c6c05
@@ -72,7 +72,7 @@ git clone --recursive $_OMPI_REPO
|
||||
cd ompi
|
||||
git checkout $_OMPI_COMMIT_HASH
|
||||
git submodule update --init --recursive
|
||||
python3 -m venv --system-site-packages --without-pip venv
|
||||
python3 -m ensurepip && python3 -m venv venv || python3 -m venv --system-site-packages --without-pip venv
|
||||
. venv/bin/activate
|
||||
python3 -m pip install -r docs/requirements.txt
|
||||
./autogen.pl
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador