Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't run `pip install --upgrade pip` on Windows, it started to fail in
our Jenkins node and this is not the right command.

https://jira.mesosphere.com/browse/DCOS_OSS-2332
https://pip.pypa.io/en/stable/installing/#upgrading-pip
pypa/pip#1299
  • Loading branch information
bamarni committed Apr 3, 2018
1 parent fe1fd6f commit d2db203
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/bin/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ if [ ! -d "${BUILDDIR}/${VENV}" ]; then

# Install all requirements into the virtualenv.
echo "Installing virtualenv requirements..."
${BUILDDIR}/${VENV}/${BIN}/pip${EXE} install --upgrade pip
if [ "$(uname)" = "Windows_NT" ]; then
${PYTHON} -m pip install -U pip
else
${BUILDDIR}/${VENV}/${BIN}/pip${EXE} install --upgrade pip
fi
${BUILDDIR}/${VENV}/${BIN}/pip${EXE} install -r ${BASEDIR}/requirements.txt
${BUILDDIR}/${VENV}/${BIN}/pip${EXE} install -e ${BASEDIR}
if [ "$(uname)" = "Windows_NT" ]; then
Expand Down

0 comments on commit d2db203

Please sign in to comment.