Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Upgrade virtualenv to 1.11.6.
See changelog: https://virtualenv.pypa.io/en/latest/news.html

Of note, this upgrades the bundled pip to one that supports https proxies.

Testing Done:
git clean -fdx
./pants src/test/python:all

Reviewed at https://reviews.apache.org/r/27057/
  • Loading branch information
kevints committed Oct 23, 2014
1 parent cba7ec2 commit bb6834bedd7bf26a65bca98f058f905abac958f6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
@@ -14,14 +14,12 @@
#
# Wrapper for self-bootstrapping virtualenv
set -ex
VIRTUALENV_VERSION=1.10.1
VIRTUALENV_VERSION=1.11.6

if which python2.7 >/dev/null; then
PY=`which python2.7`
elif which python2.6 >/dev/null; then
PY=`which python2.6`
else
echo 'No python interpreter found on the path. Python will not work!' 1>&2
echo 'No python2.7 interpreter found on the path. Python will not work!' 1>&2
exit 1
fi

2 pants
@@ -23,6 +23,8 @@ if ! [ -f "$HERE/build-support/pants.venv/BOOTSTRAPPED" ] || \
echo Bootstrapping pants @ $PANTS_VERSION
rm -fr "$HERE/build-support/pants.venv"
"$HERE/build-support/virtualenv" "$HERE/build-support/pants.venv"
# TODO(ksweeney): remove this hack when https://github.com/pantsbuild/pex/issues/21 is fixed.
rm -fr "HERE/build-support/pants.venv/local"
source "$HERE/build-support/pants.venv/bin/activate"
pip install "pantsbuild.pants==$PANTS_VERSION"
echo $PANTS_VERSION > "$HERE/build-support/pants.venv/BOOTSTRAPPED"
3 rbt
@@ -24,7 +24,8 @@ if ! [ -f "$HERE/build-support/rbt.venv/BOOTSTRAPPED" ] || \
rm -fr "$HERE/build-support/rbt.venv"
"$HERE/build-support/virtualenv" "$HERE/build-support/rbt.venv"
source "$HERE/build-support/rbt.venv/bin/activate"
pip install "RBTools==$RBTOOLS_VERSION"
# Workaround for https://groups.google.com/forum/#!topic/reviewboard/rqdoykc-rpo
pip install "RBTools==$RBTOOLS_VERSION" --allow-external RBTools --allow-unverified RBTools
echo $RBTOOLS_VERSION > "$HERE/build-support/rbt.venv/BOOTSTRAPPED"
fi
source "$HERE/build-support/rbt.venv/bin/activate"

0 comments on commit bb6834b

Please sign in to comment.