diff --git a/bin/steps/pip-install b/bin/steps/pip-install index ad762f989f0e28f06b74d42fba25852297d99d10..4299b910c16f6551474eee62604f86a44706c398 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -10,6 +10,9 @@ PIP_STATUS="${PIPESTATUS[0]}" set -e show-warnings +echo +echo +cat $WARNINGS_LOG | indent if [[ ! $PIP_STATUS -eq 0 ]]; then exit 1 diff --git a/bin/warnings b/bin/warnings index 64648538784727670405a836b7a44462ee5d9d17..ff53a652f08075115f7492cfbe9ecb0de5c53f38 100755 --- a/bin/warnings +++ b/bin/warnings @@ -1,7 +1,9 @@ shopt -s extglob old-platform() { + echo 'old platform' if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then + echo 'true' puts-warn "Hello! It looks like your application is using an outdated version of Python." puts-warn "This caused the security warning you saw above during the 'pip install' step." puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file." @@ -37,6 +39,7 @@ distribute-included() { } show-warnings() { + echo "show warnings $WARNINGS_LOG" old-platform pylibmc-missing scipy-included