Skip to content

Commit 4a6cd40

Browse files
committed
Replace virtual with venv module
1 parent a9ae68a commit 4a6cd40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/github/install-virtualenv.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ set -e
66
# Note: Use --user to avoid polluting system site-packages (which breaks one of our tests)
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
9-
pip install --user --upgrade --force-reinstall "$(grep "^virtualenv" fixed-requirements.txt)"
9+
# pip install --user --upgrade --force-reinstall "$(grep "^virtualenv" fixed-requirements.txt)"
1010
python3 -m venv ~/virtualenv
11-
~/virtualenv/bin/pip install --upgrade --force-reinstall "$(grep "^virtualenv" fixed-requirements.txt)"
11+
# ~/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
1414
fi
1515

1616
mkdir -p ~/.local/bin
1717
ln -s ~/virtualenv/bin/virtualenv ~/.local/bin/virtualenv
1818

19-
command -v virtualenv
20-
virtualenv --version
19+
#command -v virtualenv
20+
#virtualenv --version

0 commit comments

Comments
 (0)