From 4723abb8961eac00e1cd429000723820d9e690e6 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Thu, 31 Aug 2017 13:18:26 -0400
Subject: [PATCH] Pipenv Updates (#458)

* fixed the bug for pypy-5.8.0

* update pipenv support

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
---
 bin/steps/pipenv                | 2 +-
 bin/steps/pipenv-python-version | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/steps/pipenv b/bin/steps/pipenv
index 6ccd3eed..a6271d08 100644
--- a/bin/steps/pipenv
+++ b/bin/steps/pipenv
@@ -9,7 +9,7 @@ if [[ -f Pipfile ]]; then
         /app/.heroku/python/bin/pip install pipenv --upgrade &> /dev/null
 
         # Install the dependencies.
-        /app/.heroku/python/bin/pipenv install --system 2>&1 | indent
+        /app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent
 
         # Skip pip install, later.
         export SKIP_PIP_INSTALL=1
diff --git a/bin/steps/pipenv-python-version b/bin/steps/pipenv-python-version
index e69ef31c..23aa12a3 100755
--- a/bin/steps/pipenv-python-version
+++ b/bin/steps/pipenv-python-version
@@ -2,7 +2,7 @@
 
 # Detect Python-version with Pipenv.
 
-if [[ -f $BUILD_DIR/Pipfile.lock ]]; then
+if [[ -f $BUILD_DIR/Pipfile ]]; then
 
     if [[ ! -f $BUILD_DIR/runtime.txt ]]; then
         if [[ ! -f $BUILD_DIR/Pipfile.lock ]]; then
-- 
GitLab