Skip to content

Commit df2f2a6

Browse files
committed
Create virtualenv using venv module.
1 parent e8c345f commit df2f2a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/github/install-virtualenv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -e
77
# TODO: simplify this once fixed in contrib/runners/python_runner/tests/integration/test_pythonrunner_behavior.py
88
if [[ ! -f ~/virtualenv/bin/virtualenv ]]; then # use the cached version whenever possible
99
pip install --user --upgrade --force-reinstall "$(grep "^virtualenv" fixed-requirements.txt)"
10-
virtualenv --no-download ~/virtualenv
10+
python3 -m venv ~/virtualenv
1111
~/virtualenv/bin/pip install --upgrade --force-reinstall "$(grep "^virtualenv" fixed-requirements.txt)"
1212
# drop the --user install virtualenv to prevent polluting tests
1313
pip freeze --user | xargs pip uninstall -y

0 commit comments

Comments
 (0)