From ad53dc61f008b5f5e50d30966a693ad36b4f8904 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Wed, 10 Feb 2016 15:51:46 -0500 Subject: [PATCH] Improvements to warnings and minor bugfix. --- CHANGELOG.md | 4 ++++ bin/compile | 6 +++--- bin/warnings | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14339712..0f5594a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Python Buildpack Changelog +## v77 (2016-02-10) + +Improvements to warnings and minor bugfix. + ## v76 (2016-02-08) Improved Django collectstatic support. diff --git a/bin/compile b/bin/compile index c034b72d..e8050d41 100755 --- a/bin/compile +++ b/bin/compile @@ -39,7 +39,7 @@ SETUPTOOLS_VERSION="19.6" # Common Problem Warnings export WARNINGS_LOG=$(mktemp) -export DEFAULT_PYTHON_VERSION +export RECOMMENDED_PYTHON_VERSION=$DEFAULT_PYTHON_VERSION # Setup bpwatch export PATH=$PATH:$ROOT_DIR/vendor/bpwatch @@ -57,8 +57,8 @@ export PATH=$PATH:$ROOT_DIR/vendor/pip-pop # Sanitizing environment variables. unset GIT_DIR PYTHONHOME PYTHONPATH LD_LIBRARY_PATH LIBRARY_PATH -unset RECEIVE_DATA SOURCE_VERSION RUN_KEY BUILD_INFO DEPLOY -unset LOG_TOKEN DYNO CYTOKINE_LOG_FILE GEM_PATH +unset RECEIVE_DATA RUN_KEY BUILD_INFO DEPLOY LOG_TOKEN DYNO +unset CYTOKINE_LOG_FILE GEM_PATH # Setup buildpack instrumentation. bpwatch init $LOGPLEX_KEY diff --git a/bin/warnings b/bin/warnings index fef69df2..3ec061bb 100755 --- a/bin/warnings +++ b/bin/warnings @@ -5,7 +5,7 @@ old-platform() { echo 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." + puts-warn "We recommend '$RECOMMENDED_PYTHON_VERSION', which you can specify in a 'runtime.txt' file." puts-warn " -- Much Love, Heroku." fi } -- GitLab