Skip to content
Snippets Groups Projects
Commit ad53dc61 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

Improvements to warnings and minor bugfix.

parent 85982967
No related branches found
Tags v77
No related merge requests found
# Python Buildpack Changelog # Python Buildpack Changelog
## v77 (2016-02-10)
Improvements to warnings and minor bugfix.
## v76 (2016-02-08) ## v76 (2016-02-08)
Improved Django collectstatic support. Improved Django collectstatic support.
......
...@@ -39,7 +39,7 @@ SETUPTOOLS_VERSION="19.6" ...@@ -39,7 +39,7 @@ SETUPTOOLS_VERSION="19.6"
# Common Problem Warnings # Common Problem Warnings
export WARNINGS_LOG=$(mktemp) export WARNINGS_LOG=$(mktemp)
export DEFAULT_PYTHON_VERSION export RECOMMENDED_PYTHON_VERSION=$DEFAULT_PYTHON_VERSION
# Setup bpwatch # Setup bpwatch
export PATH=$PATH:$ROOT_DIR/vendor/bpwatch export PATH=$PATH:$ROOT_DIR/vendor/bpwatch
...@@ -57,8 +57,8 @@ export PATH=$PATH:$ROOT_DIR/vendor/pip-pop ...@@ -57,8 +57,8 @@ export PATH=$PATH:$ROOT_DIR/vendor/pip-pop
# Sanitizing environment variables. # Sanitizing environment variables.
unset GIT_DIR PYTHONHOME PYTHONPATH LD_LIBRARY_PATH LIBRARY_PATH unset GIT_DIR PYTHONHOME PYTHONPATH LD_LIBRARY_PATH LIBRARY_PATH
unset RECEIVE_DATA SOURCE_VERSION RUN_KEY BUILD_INFO DEPLOY unset RECEIVE_DATA RUN_KEY BUILD_INFO DEPLOY LOG_TOKEN DYNO
unset LOG_TOKEN DYNO CYTOKINE_LOG_FILE GEM_PATH unset CYTOKINE_LOG_FILE GEM_PATH
# Setup buildpack instrumentation. # Setup buildpack instrumentation.
bpwatch init $LOGPLEX_KEY bpwatch init $LOGPLEX_KEY
......
...@@ -5,7 +5,7 @@ old-platform() { ...@@ -5,7 +5,7 @@ old-platform() {
echo echo
puts-warn "Hello! It looks like your application is using an outdated version of Python." 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 "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." puts-warn " -- Much Love, Heroku."
fi fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment