From a98a87e1bced933965cf3fe77b8ce014b9f2a92c Mon Sep 17 00:00:00 2001 From: Casey Faist Date: Thu, 12 Mar 2020 14:20:49 -0700 Subject: [PATCH] Remove the lines that bust the cache when we detect that sqlite has changed --- bin/steps/python | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bin/steps/python b/bin/steps/python index c06db37..8d906ff 100755 --- a/bin/steps/python +++ b/bin/steps/python @@ -86,14 +86,6 @@ if [[ "$STACK" != "$CACHED_PYTHON_STACK" ]]; then rm -fr .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor .heroku/python .heroku/python-sqlite3-version fi -# need to clear the cache for first time installing SQLite3, -# since the version is changing and could lead to runtime errors -# with compiled extensions. -if [ -d .heroku/python ] && [ ! -f .heroku/python-sqlite3-version ] && python_sqlite3_check "$PYTHON_VERSION"; then - puts-step "Need to update SQLite3, clearing cache" - rm -fr .heroku/python-stack .heroku/python-version .heroku/python .heroku/vendor -fi - if [ -f .heroku/python-version ]; then if [ ! "$(cat .heroku/python-version)" = "$PYTHON_VERSION" ]; then puts-step "Found $(cat .heroku/python-version), removing"