Releases: heroku/heroku-buildpack-python
Releases · heroku/heroku-buildpack-python
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)