Skip to content

Run on Python 3.15 and test on 3.14 and 3.15 - #472

Open
Mariatta wants to merge 1 commit into
python:mainfrom
Mariatta:python-3.15
Open

Mariatta wants to merge 1 commit into
python:mainfrom
Mariatta:python-3.15

Conversation

@Mariatta

@Mariatta Mariatta commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

The bot runs on a single interpreter, the one in the Dockerfile, so the test matrix only needs the version the image runs on, the previous one as a fallback, and the next one once it exists. Python 3.13 entered security-only mode on 2026-10-01, and 3.11 and 3.12 were already there.

  • Build the image on python:3.15-slim, the current release.
  • Test on 3.14 and 3.15 only. 3.16 gets added once actions/setup-python ships its first alpha.
  • Delete runtime.txt, which only Heroku read. The bot now runs on cabotage, which reads the Procfile.

The test suite passes on 3.14 and 3.15, and the image builds locally.

This deliberately changes the approach from the recent "drop EOL versions" PRs: for a deployed app, versions in security-only mode that the image never runs on add CI time without telling us anything.

The bot runs on a single interpreter, the one in the Dockerfile, so the
test matrix only needs the version the image runs on, the previous one
as a fallback, and the next one once it exists. Python 3.13 entered
security-only mode on 2026-10-01 and 3.11 and 3.12 were already there,
so stop testing on them and build the image on 3.15, the current
release. 3.16 joins the matrix once actions/setup-python ships its
first alpha.

runtime.txt was only read by Heroku, which no longer runs the bot.
@Mariatta
Mariatta marked this pull request as ready for review October 21, 2026 04:47

This branch has not been deployed

No deployments
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