diff --git a/CHANGELOG.md b/CHANGELOG.md index 49f456f..af8773e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Python Buildpack Changelog +# 114 + +- Bugfixes. + +Blacklisting `PYTHONHOME` and `PYTHONPATH` for older apps. Upgrades to nltk support. + # 113 - Updates to Pipenv support. diff --git a/bin/steps/pip-install b/bin/steps/pip-install index c60d524..e49a923 100755 --- a/bin/steps/pip-install +++ b/bin/steps/pip-install @@ -6,6 +6,9 @@ if [ ! "$SKIP_PIP_INSTALL" ]; then puts-step "Installing requirements with pip" set +e + BLACKLIST='PYTHONHOME|PYTHONPATH' + export BLACKLIST + sub_env /app/.heroku/python/bin/pip install -r "$BUILD_DIR/requirements.txt" --exists-action=w --src=/app/.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | tee "$WARNINGS_LOG" | cleanup | indent PIP_STATUS="${PIPESTATUS[0]}" set -e