From 7be17dfe310745ab3049a57ad8b29a87ac0e4ab2 Mon Sep 17 00:00:00 2001
From: jxltom <jxltom@gmail.com>
Date: Sat, 6 Oct 2018 12:22:22 +0800
Subject: [PATCH] Do not upgrade system pip

---
 bin/steps/pipenv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/steps/pipenv b/bin/steps/pipenv
index 31b479ba..72419d01 100755
--- a/bin/steps/pipenv
+++ b/bin/steps/pipenv
@@ -56,7 +56,7 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
         export PIPENV_VERSION="2018.5.18"
 
         # Install pipenv.
-        /app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade &> /dev/null
+        /app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade --upgrade-strategy only-if-needed &> /dev/null
 
         # Install the dependencies.
         if [[ ! -f Pipfile.lock ]]; then
-- 
GitLab