From 5e4667686aa66bfbe23405e065a30976207b4732 Mon Sep 17 00:00:00 2001
From: Casey Faist <caseylfaist@gmail.com>
Date: Fri, 17 Aug 2018 14:32:12 -0500
Subject: [PATCH] add case for older python 3 install attempts

---
 bin/steps/python | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/steps/python b/bin/steps/python
index 4770b68f..b6366194 100755
--- a/bin/steps/python
+++ b/bin/steps/python
@@ -34,6 +34,10 @@ else
         else
           echo "       Using supported version of Python 3.6 ($PYTHON_VERSION)"
         fi
+      else
+        puts-warn "Heroku supports the latest version of Python 2 $LATEST_37, Python 3.6 $LATEST_36 and Python 3.7 $LATEST_2." 
+        puts-warn "You are using $PYTHON_VERSION, which is unsupported."
+        puts-warn "We recommend upgrading by specifying the default supported version ($LATEST_36)."
       fi
     fi
   fi
-- 
GitLab