diff --git a/CHANGELOG.md b/CHANGELOG.md index 49f456f38525942c08e04d94093fe51971081f7e..af8773e1f80a49dcf171b8654061b17c423fc63a 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 c60d52435638962ffcbe1b82de7f2f9467084670..e49a923f2c28cba05fc676c5c8ea20d3c784966a 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