Releases: heroku/heroku-buildpack-python
Releases · heroku/heroku-buildpack-python
v267
v266
- Added a warning when the files for multiple package managers are found. In the future this warning will become an error. (#1692)
- Updated the build log message shown when installing dependencies to include the package manager command being run. (#1689)
- Changed test dependency installation on Heroku CI to now install
requirements.txt
andrequirements-test.txt
in a singlepip install
invocation rather than separately. This allows pip's resolver to resolve any version conflicts between the two files. (#1689) - Improved the error messages and buildpack metrics for package manager related failures. (#1689)
- Improved the build log output, error messages and buildpack failure metrics for the NLTK downloader feature. (#1690)
v265
v264
v263
- Fixed cache handling so that it now also discards the cache when the package manager (or its version) changes. (#1679)
- Improved the build log output shown when restoring or discarding the cache. For example, if the cache was invalidated all reasons are now shown. (#1679)
- Stopped performing unnecessary cache file copies when the cache is due to be invalidated. This required moving the cache restoration step to after the
bin/pre_compile
hook runs. (#1679) - Fixed cache restoration in the case where an app's
requirements.txt
was formerly a symlink. (#1679) - Added buildpack metrics for the status of the cache and duration of cache restoration/saving. (#1679)
v262
v261
- Added support for configuring the Python version using a
.python-version
file. Both the3.N
and3.N.N
version forms are supported (the former is recommended). The existingruntime.txt
file will take precedence if both files are found, however, we recommend switching to.python-version
since it is more commonly supported in the Python ecosystem. (#1664) - Added support for specifying only the Python major version in
runtime.txt
instead of requiring the full Python version (for examplepython-3.N
instead ofpython-3.N.N
). (#1664)