Skip to content

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

Merged
eevelweezel merged 1 commit into
chicagopython:mainfrom
edmorley:rm-runtime-txt
Oct 10, 2025
Merged

eevelweezel merged 1 commit into
chicagopython:mainfrom
edmorley:rm-runtime-txt

Conversation

@edmorley

Copy link
Copy Markdown
Contributor

Since the runtime.txt file is deprecated:
https://devcenter.heroku.com/changelog-items/3141

In addition, I've:

  • Updated .python-version to use the 3.13 version alias instead of an exact patch version, so that the latest patch version is automatically used. (3.13.1 is 9 months out of date and contains security vulnerabilities)
  • Adjusted the GitHub Actions "Install Python" step to use the version from .python-version, saving the need to keep the versions in sync manually.

See:

Since the `runtime.txt` file is deprecated:
https://devcenter.heroku.com/changelog-items/3141

In addition, I've:
- Updated `.python-version` to use the `3.13` version alias
  instead of an exact patch version, so that the latest patch
  version is automatically used. (3.13.1 is 9 months out of
  date and contains security vulnerabilities)
- Adjusted the GitHub Actions "Install Python" step to use
  the version from `.python-version`, saving the need to
  keep the versions in sync manually.

See:
- https://devcenter.heroku.com/changelog-items/3141
- https://devcenter.heroku.com/articles/python-runtimes
- https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-the-python-version-file-input
@edmorley

Copy link
Copy Markdown
Contributor Author

@eevelweezel Hi! I don't suppose you have a spare moment for a review/merge? :-)

@eevelweezel

Copy link
Copy Markdown
Contributor

Seems like a reasonable change.

@eevelweezel
eevelweezel merged commit 8a24484 into chicagopython:main Oct 10, 2025
3 checks passed
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.

2 participants