From 4750639a0d796c85320e84616df9fcfc7a140899 Mon Sep 17 00:00:00 2001 From: Casey Faist <caseylfaist@gmail.com> Date: Sun, 11 Nov 2018 16:38:12 -0600 Subject: [PATCH] add python 3.4 detection --- bin/compile | 2 ++ bin/steps/python | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/bin/compile b/bin/compile index 451a2868..a4fe7465 100755 --- a/bin/compile +++ b/bin/compile @@ -53,12 +53,14 @@ DEFAULT_PYTHON_VERSION="python-3.6.6" LATEST_36="python-3.6.6" LATEST_37="python-3.7.0" LATEST_35="python-3.5.6" +LATEST_34="python-3.4.9" LATEST_2="python-2.7.15" # Supported Python Branches PY37="python-3.7" PY36="python-3.6" PY35="python-3.5" +PY35="python-3.4" PY27="python-2.7" # Which stack is used (for binary downloading), if none is provided (e.g. outside of Heroku)? diff --git a/bin/steps/python b/bin/steps/python index cb697830..ac5b057e 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -32,6 +32,13 @@ if curl --output /dev/null --silent --head --fail "$VENDORED_PYTHON"; then echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes" fi fi + if [[ "$PYTHON_VERSION" == $PY34* ]]; then + # security update note + if [ "$PYTHON_VERSION" != "$LATEST_34" ]; then + puts-warn "$SECURITY_UPDATE" "$LATEST_34" + echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes" + fi + fi if [[ "$PYTHON_VERSION" == $PY27* ]]; then # security update note if [ "$PYTHON_VERSION" != "$LATEST_27" ]; then -- GitLab