You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
12-factor applications should be robust to redeploy, and take steps to boot quickly. This is broken in #909, but after resolving that bug, are there improvements to be made?
12-factor applications should be robust to redeploy, and take steps to boot quickly. This is broken in #909, but after resolving that bug, are there improvements to be made?
Pip by default caches the packages it installs: https://pip.pypa.io/en/stable/reference/pip_install/#caching
But this is turned off for the buildpack currently:
https://github.com/heroku/heroku-buildpack-python/blob/master/bin/steps/pip-install#L50
We do try to cache requirements files and validate updates ourselves on repeat builds:
https://github.com/heroku/heroku-buildpack-python/blob/master/bin/steps/pip-uninstall
But it's built on tooling that has not been maintained:
https://github.com/heroku-python/pip-pop/blob/master/bin/pip-diff
Rather than maintain it by default, investigate what pip supports to see if better tools are now available:
https://pip.pypa.io/en/stable/reference/pip_install/#wheel-cache
https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode
https://pip.pypa.io/en/stable/reference/pip_install/#hashes-from-pypi
https://pip.pypa.io/en/stable/reference/pip_check/
/app/.heroku/*
)The text was updated successfully, but these errors were encountered: