From afb0041408b64e20cbf63ad8e0b78cf238979644 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Sat, 27 May 2017 12:51:18 -0400 Subject: [PATCH] Use pipdeptree instead of freeze pipdeptree provides better output than pip freeze with more information. Also run pip installs in quiet mode to cut down on log spam. It will still print out WARNINGS, ERROR, and CRITICAL log messages. Change-Id: I3f7e687ccdea5fcb5c749328c1e387e6d99d9fed Signed-off-by: Thanh Ha --- shell/jjb-install.sh | 9 ++++++--- shell/lftools-install.sh | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/shell/jjb-install.sh b/shell/jjb-install.sh index af2f42c5..8baed832 100644 --- a/shell/jjb-install.sh +++ b/shell/jjb-install.sh @@ -17,6 +17,9 @@ set -e -o pipefail virtualenv "$WORKSPACE/.virtualenvs/jjb" # shellcheck source=./.virtualenvs/jjb/bin/activate disable=SC1091 source "$WORKSPACE/.virtualenvs/jjb/bin/activate" -pip install --upgrade pip -pip install --upgrade "jenkins-job-builder==$JJB_VERSION" -pip freeze +pip install --quiet --upgrade pip +pip install --quiet --upgrade pipdeptree +pip install --quiet --upgrade "jenkins-job-builder==$JJB_VERSION" + +echo "----> Pip Dependency Tree" +pipdeptree diff --git a/shell/lftools-install.sh b/shell/lftools-install.sh index 7ae9618d..39f060da 100644 --- a/shell/lftools-install.sh +++ b/shell/lftools-install.sh @@ -17,6 +17,9 @@ set -e -o pipefail virtualenv "$WORKSPACE/.virtualenvs/lftools" # shellcheck source=./.virtualenvs/lftools/bin/activate disable=SC1091 source "$WORKSPACE/.virtualenvs/lftools/bin/activate" -pip install --upgrade pip -pip install --upgrade "lftools<1.0.0" -pip freeze +pip install --quiet --upgrade pip +pip install --quiet --upgrade pipdeptree +pip install --quiet --upgrade "lftools<1.0.0" + +echo "----> Pip Dependency Tree" +pipdeptree -- 2.16.6