From 0be9d48013a595ea5fea3ae47224e7ccd726c78c Mon Sep 17 00:00:00 2001 From: Casey Faist <caseylfaist@gmail.com> Date: Sun, 11 Nov 2018 16:51:29 -0600 Subject: [PATCH] add missing vars for python step --- bin/compile | 7 ++++--- bin/steps/python | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/compile b/bin/compile index a4fe7465..246839de 100755 --- a/bin/compile +++ b/bin/compile @@ -60,7 +60,7 @@ LATEST_2="python-2.7.15" PY37="python-3.7" PY36="python-3.6" PY35="python-3.5" -PY35="python-3.4" +PY34="python-3.4" PY27="python-2.7" # Which stack is used (for binary downloading), if none is provided (e.g. outside of Heroku)? @@ -68,8 +68,9 @@ DEFAULT_PYTHON_STACK="cedar-14" # If pip doesn't match this version (the version we install), run the installer. PIP_UPDATE="9.0.2" -export DEFAULT_PYTHON_VERSION DEFAULT_PYTHON_STACK PIP_UPDATE LATEST_2 LATEST_36 LATEST_37 -export PY37 PY36 PY35 PY27 +export DEFAULT_PYTHON_VERSION DEFAULT_PYTHON_STACK PIP_UPDATE +export LATEST_2 LATEST_36 LATEST_37 LATEST_35 LATEST_34 +export PY37 PY36 PY35 PY27 PY34 # Common Problem Warnings: # This section creates a temporary file in which to stick the output of `pip install`. diff --git a/bin/steps/python b/bin/steps/python index ac5b057e..6ca1e855 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -52,7 +52,6 @@ else exit 1 fi - if [[ "$STACK" != "$CACHED_PYTHON_STACK" ]]; then puts-step "Stack has changed from $CACHED_PYTHON_STACK to $STACK, clearing cache" rm -fr .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor .heroku/python .heroku/python-sqlite3-version -- GitLab