heroku / buildpacks-python

Heroku's Cloud Native Buildpack for Python applications.
BSD 3-Clause "New" or "Revised" License
27 stars 3 forks source link

Deprecate and eventually sunset `runtime.txt` support #275

Open edmorley opened 4 weeks ago

edmorley commented 4 weeks ago

As of #272, the buildpack now supports the .python-version file for configuring the Python version.

The .python-version file is superior in several ways:

As such, we should deprecate runtime.txt support in the CNB, and then eventually remove support from the CNB entirely.

Note: For the classic buildpack, we'll be also adding .python-version support there soon (which I'd like to do before deprecating runtime.txt in the CNB). However, for the classic buildpack we'll never want to fully remove runtime.txt support - and instead only deprecate it - to at least encourage most users to migrate over before they eventually migrate to the CNB (xref https://github.com/heroku/heroku-buildpack-python/issues/1642).

GUS-W-16878239. GUS-W-16878263.