Skip to content

Commit ad53dc6

Browse files
committed
Improvements to warnings and minor bugfix.
1 parent 8598296 commit ad53dc6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Python Buildpack Changelog
22

3+
## v77 (2016-02-10)
4+
5+
Improvements to warnings and minor bugfix.
6+
37
## v76 (2016-02-08)
48

59
Improved Django collectstatic support.

bin/compile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ SETUPTOOLS_VERSION="19.6"
3939

4040
# Common Problem Warnings
4141
export WARNINGS_LOG=$(mktemp)
42-
export DEFAULT_PYTHON_VERSION
42+
export RECOMMENDED_PYTHON_VERSION=$DEFAULT_PYTHON_VERSION
4343

4444
# Setup bpwatch
4545
export PATH=$PATH:$ROOT_DIR/vendor/bpwatch
@@ -57,8 +57,8 @@ export PATH=$PATH:$ROOT_DIR/vendor/pip-pop
5757

5858
# Sanitizing environment variables.
5959
unset GIT_DIR PYTHONHOME PYTHONPATH LD_LIBRARY_PATH LIBRARY_PATH
60-
unset RECEIVE_DATA SOURCE_VERSION RUN_KEY BUILD_INFO DEPLOY
61-
unset LOG_TOKEN DYNO CYTOKINE_LOG_FILE GEM_PATH
60+
unset RECEIVE_DATA RUN_KEY BUILD_INFO DEPLOY LOG_TOKEN DYNO
61+
unset CYTOKINE_LOG_FILE GEM_PATH
6262

6363
# Setup buildpack instrumentation.
6464
bpwatch init $LOGPLEX_KEY

bin/warnings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ old-platform() {
55
echo
66
puts-warn "Hello! It looks like your application is using an outdated version of Python."
77
puts-warn "This caused the security warning you saw above during the 'pip install' step."
8-
puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
8+
puts-warn "We recommend '$RECOMMENDED_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."
99
puts-warn " -- Much Love, Heroku."
1010
fi
1111
}

0 commit comments

Comments
 (0)