Skip to content

Commit 4750639

Browse files
committed
add python 3.4 detection
1 parent 3de5b43 commit 4750639

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

bin/compile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ DEFAULT_PYTHON_VERSION="python-3.6.6"
5353
LATEST_36="python-3.6.6"
5454
LATEST_37="python-3.7.0"
5555
LATEST_35="python-3.5.6"
56+
LATEST_34="python-3.4.9"
5657
LATEST_2="python-2.7.15"
5758

5859
# Supported Python Branches
5960
PY37="python-3.7"
6061
PY36="python-3.6"
6162
PY35="python-3.5"
63+
PY35="python-3.4"
6264
PY27="python-2.7"
6365

6466
# Which stack is used (for binary downloading), if none is provided (e.g. outside of Heroku)?

bin/steps/python

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ if curl --output /dev/null --silent --head --fail "$VENDORED_PYTHON"; then
3232
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
3333
fi
3434
fi
35+
if [[ "$PYTHON_VERSION" == $PY34* ]]; then
36+
# security update note
37+
if [ "$PYTHON_VERSION" != "$LATEST_34" ]; then
38+
puts-warn "$SECURITY_UPDATE" "$LATEST_34"
39+
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
40+
fi
41+
fi
3542
if [[ "$PYTHON_VERSION" == $PY27* ]]; then
3643
# security update note
3744
if [ "$PYTHON_VERSION" != "$LATEST_27" ]; then

0 commit comments

Comments
 (0)