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)
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
8c175315f2
Commit
b7a6d86c6b
@@ -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
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren