Skip to content

Commit f79845e

Browse files
committed
Print debug output when test of UPGRADE_PIP_TO_LATEST fails
1 parent abd2763 commit f79845e

File tree

1 file changed

+2
-0
lines changed
  • examples/npm-virtualenv-uwsgi-test-app

1 file changed

+2
-0
lines changed

examples/npm-virtualenv-uwsgi-test-app/app.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ for pkg in ${packages[@]}; do
1616
python -m pip install -U --no-deps --no-python-version-warning $pkg 2>&1 | grep -Ev "^Requirement already (up-to-date|satisfied): "
1717
if [ $? -eq 0 ]; then
1818
echo "ERROR: Failed to upgrade '$pkg' to the latest version."
19+
echo "Output of the pip install command is:"
20+
python -m pip install -U --no-deps --no-python-version-warning $pkg
1921
exit 1
2022
fi
2123
done

0 commit comments

Comments
 (0)