Skip to content

Commit 731876d

Browse files
committed
Be clearer in our warnings about which Py3 we mean
1 parent 179e628 commit 731876d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/steps/python

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ if [[ $PYTHON_VERSION =~ ^python-2 ]]; then
1515
fi
1616
else
1717
if [[ $PYTHON_VERSION =~ ^python-3.7 ]] && [[ "$PYTHON_VERSION" != "$LATEST_37" ]]; then
18-
puts-warn "The latest version of Python 3 is $LATEST_37 (you are using $PYTHON_VERSION, which is unsupported)."
18+
puts-warn "The latest version of Python 3.7 is $LATEST_37 (you are using $PYTHON_VERSION, which is unsupported)."
1919
puts-warn "We recommend upgrading by specifying the latest version ($LATEST_37)."
2020
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
2121
else
2222
if [[ "$PYTHON_VERSION" != "$LATEST_36" ]]; then
23-
puts-warn "The latest version of Python 3 is $LATEST_36 (you are using $PYTHON_VERSION, which is unsupported)."
23+
puts-warn "The latest version of Python 3.6 is $LATEST_36 (you are using $PYTHON_VERSION, which is unsupported)."
2424
puts-warn "We recommend upgrading by specifying the latest version ($LATEST_36)."
2525
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
2626
fi

0 commit comments

Comments
 (0)