From: Thanh Ha Date: Sat, 14 Apr 2018 17:15:07 +0000 (-0400) Subject: Replace pipdeptree with pip freeze X-Git-Tag: v0.18.0~5 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=9f237eb9ddb18fe6e01cbadea0a75e36a0baf8d7;p=releng%2Fglobal-jjb.git Replace pipdeptree with pip freeze While pipdeptree provides more detailed information it's dependency with pip seems to break things if we don't install in the correct order. Let's revert to pip freeze for now until we have a better way to maintain these debugging packages. Issue: RELENG-884 Change-Id: Ib6d3008e2d0e195bc9a01a1c4dd476d92a9deace Signed-off-by: Thanh Ha --- diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh index 54501b8e..9351f489 100644 --- a/shell/jjb-install.sh +++ b/shell/jjb-install.sh @@ -18,8 +18,7 @@ virtualenv "/tmp/v/jjb" # shellcheck source=/tmp/v/jjb/bin/activate disable=SC1091 source "/tmp/v/jjb/bin/activate" pip install --quiet --upgrade "pip==9.0.3" setuptools -pip install --quiet --upgrade pipdeptree pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" -echo "----> Pip Dependency Tree" -pipdeptree +echo "----> pip freeze" +pip freeze diff --git a/shell/node-install.sh b/shell/node-install.sh index 008b3824..da6cfe43 100644 --- a/shell/node-install.sh +++ b/shell/node-install.sh @@ -18,8 +18,7 @@ virtualenv --quiet "/tmp/v/python" # shellcheck source=/tmp/v/node/bin/activate disable=SC1091 source "/tmp/v/python/bin/activate" pip install --quiet --upgrade "pip==9.0.3" setuptools -pip install --quiet --upgrade pipdeptree pip install --quiet --upgrade nodeenv -echo "----> Pip Dependency Tree" -pipdeptree +echo "----> pip freeze" +pip freeze diff --git a/shell/tox-install.sh b/shell/tox-install.sh index 96c0fa38..9e50ead4 100644 --- a/shell/tox-install.sh +++ b/shell/tox-install.sh @@ -18,8 +18,7 @@ virtualenv --quiet -p "$PYTHON_VERSION" "/tmp/v/tox" # shellcheck source=/tmp/v/tox/bin/activate disable=SC1091 source "/tmp/v/tox/bin/activate" pip install --quiet --upgrade "pip==9.0.3" setuptools -pip install --quiet --upgrade pipdeptree pip install --quiet --upgrade argparse detox "tox<3.0.0" tox-pyenv -echo "----> Pip Dependency Tree" -pipdeptree +echo "----> pip freeze" +pip freeze