Skip to content

Commit 5e46676

Browse files
committed
add case for older python 3 install attempts
1 parent f9621ad commit 5e46676

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/steps/python

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ else
3434
else
3535
echo " Using supported version of Python 3.6 ($PYTHON_VERSION)"
3636
fi
37+
else
38+
puts-warn "Heroku supports the latest version of Python 2 $LATEST_37, Python 3.6 $LATEST_36 and Python 3.7 $LATEST_2."
39+
puts-warn "You are using $PYTHON_VERSION, which is unsupported."
40+
puts-warn "We recommend upgrading by specifying the default supported version ($LATEST_36)."
3741
fi
3842
fi
3943
fi

0 commit comments

Comments
 (0)