File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -56,12 +56,12 @@ prepare_server_from_url() {
5656}
5757
5858install_mlaunch_virtualenv () {
59- # export PATH=/opt/python/3.7/bin:$PATH
60- python -V || true
61- python3 -V || true
62- # pip3 install --user virtualenv
59+ python2 -V || true
60+ # Current virtualenv fails with
61+ # https://github.com/pypa/virtualenv/issues/1630
62+ python -m pip install ' virtualenv<20 ' --user
6363 venvpath=" $MONGO_ORCHESTRATION_HOME " /venv
64- virtualenv $venvpath
64+ python2 -m virtualenv -p python2 $venvpath
6565 . $venvpath /bin/activate
6666 pip install ' mtools-legacy[mlaunch]'
6767}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ setup_ruby
2525
2626prepare_server $arch
2727
28- install_mlaunch_pip
28+ install_mlaunch_virtualenv
2929
3030# Launching mongod under $MONGO_ORCHESTRATION_HOME
3131# makes its log available through log collecting machinery
You can’t perform that action at this time.
0 commit comments