mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
+2
-2
@@ -6,12 +6,12 @@ PYTHON_VERSION=$(cat runtime.txt)
|
||||
|
||||
if [[ $PYTHON_VERSION =~ ^python-2 ]]; then
|
||||
if [[ "$PYTHON_VERSION" != "$LATEST_2" ]]; then
|
||||
puts-warn "The latest version of Python 2 is $LATEST_2. We recommend upgrading by specifying this version in a runtime.txt file."
|
||||
puts-warn "The latest version of Python 2 is $LATEST_2. We recommend upgrading by specifying this version."
|
||||
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
|
||||
fi
|
||||
else
|
||||
if [[ "$PYTHON_VERSION" != "$LATEST_3" ]]; then
|
||||
puts-warn "The latest version of Python 3 is $LATEST_3. We recommend upgrading by specifying this version in a runtime.txt file."
|
||||
puts-warn "The latest version of Python 3 is $LATEST_3. We recommend upgrading by specifying this version."
|
||||
echo " Learn More: https://devcenter.heroku.com/articles/python-runtimes"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user