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"