Skip to content

Switch from runtime.txt to .python-version #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

edmorley
Copy link
Member

Since use of the runtime.txt file is now deprecated in favour of the .python-version file (since the latter is more widely supported in the Python ecosystem).

This also switches to specifying only the major Python version (which automatically uses the latest patch release), in order to:

  1. Save us from having to bump the version in this repo every time a new Python patch version is released.
  2. Ensure that anyone who closes this repo and uses it as the basis for their app is then always using an up to date patch version if they don't know/remember to bump the version themselves.

GUS-W-16971647.

Since use of the `runtime.txt` file is now deprecated in favour of
the `.python-version` file (since the latter is more widely supported
in the Python ecosystem).

This also switches to specifying only the major Python version
(which automatically uses the latest patch release), in order to:

1. Save us from having to bump the version in this repo every
   time a new Python patch version is released.
2. Ensure that anyone who closes this repo and uses it as the
   basis for their app is then always using an up to date patch
   version if they don't know/remember to bump the version
   themselves.

GUS-W-16971647.
@edmorley edmorley self-assigned this Oct 14, 2024
@edmorley edmorley requested a review from a team as a code owner October 14, 2024 18:15
@heroku heroku bot temporarily deployed to getting-star-python-ver-wf0ce0 October 14, 2024 18:24 Inactive
@edmorley edmorley removed the request for review from a team October 14, 2024 18:24
@edmorley edmorley merged commit c9a165d into main Oct 14, 2024
1 check passed
@edmorley edmorley deleted the python-version-file branch October 14, 2024 18:25
@edmorley
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant