diff --git a/README.md b/README.md index eab695b11967132da433d22292f59b0c0eaf256a..e0d609bb163eed6d0041449d9673d88681855bf5 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Deploying a Python application couldn't be easier: -----> Python app detected -----> Installing python-3.6.4 -----> Installing pip - -----> Installing requirements with latest pipenv… + -----> Installing requirements with Pipenv 11.7.1… ... Installing dependencies from Pipfile… -----> Discovering process types diff --git a/bin/steps/pipenv b/bin/steps/pipenv index d1ce7c1814b7208434d0ce6117d977e03747a69c..59aab27bd355af69e258241f7980baf586c06c29 100755 --- a/bin/steps/pipenv +++ b/bin/steps/pipenv @@ -41,12 +41,14 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then export PIP_EXTRA_INDEX_URL fi + export PIPENV_VERSION="11.8.2" + # Install pipenv. - /app/.heroku/python/bin/pip install pipenv==11.7.1 --upgrade &> /dev/null + /app/.heroku/python/bin/pip install pipenv==$PIPENV_VERSION --upgrade &> /dev/null # Install the dependencies. if [[ ! -f Pipfile.lock ]]; then - puts-step "Installing dependencies with latest Pipenv…" + puts-step "Installing dependencies with Pipenv $PIPENV_VERSION…" /app/.heroku/python/bin/pipenv install --system --skip-lock 2>&1 | indent else pipenv-to-pip Pipfile.lock > requirements.txt @@ -54,7 +56,7 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then cp requirements.txt .heroku/python/requirements-declared.txt openssl dgst -sha256 Pipfile.lock > .heroku/python/Pipfile.lock.sha256 - puts-step "Installing dependencies with latest Pipenv…" + puts-step "Installing dependencies with Pipenv $PIPENV_VERSION…" /app/.heroku/python/bin/pipenv install --system --deploy 2>&1 | indent fi