-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support major Python version syntax in
runtime.txt
(#322)
Historically the `runtime.txt` file has only supported specifying an exact Python version, in the form `python-3.X.Y`. This adds support for the `python-3.X` form too, which means the app will automatically receive new Python patch updates during subsequent builds (similar to what's already supported for the `.python-version` file). This means the Python CNB's `runtime.txt` supported syntax now matches that supported by the classic Python buildpack (which gained support for the major version form as part of adding support for the `.python-version` file). The `runtime.txt` file remains deprecated (a deprecation warning will be added shortly), however, in the meantime this improves parity between the classic buildpack and CNB. GUS-W-17660224.
- Loading branch information
Showing
5 changed files
with
42 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters