Skip to content

Commit 9b2da95

Browse files
p-mongop
andcommitted
RUBY-2454 Fix aws configurations test failures (#2141)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent 1dfe41b commit 9b2da95

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.evergreen/functions-server.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ prepare_server_from_url() {
5656
}
5757

5858
install_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
}

.evergreen/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ setup_ruby
2525

2626
prepare_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

0 commit comments

Comments
 (0)