Skip to content

Commit

Permalink
Improvements to warnings and minor bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethreitz committed Feb 10, 2016
1 parent 8598296 commit ad53dc6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/warnings
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ad53dc6

Please sign in to comment.