From 718934681b9b52db7343886299e23296cee3168f Mon Sep 17 00:00:00 2001 From: mariatta Date: Tue, 20 Oct 2026 17:04:04 -0700 Subject: [PATCH] Run on Python 3.15 and test on 3.14 and 3.15 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. --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- runtime.txt | 1 - tox.ini | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 runtime.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3e7be7d..75db59d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] + python-version: ["3.14", "3.15"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/Dockerfile b/Dockerfile index 7e1d597d..e803fac1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim +FROM python:3.15-slim ENV PYTHONUNBUFFERED=1 diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 76b6e496..00000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.11.6 diff --git a/tox.ini b/tox.ini index 8ea74119..c3d1a59b 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ requires = tox>=4.2 env_list = - py{315, 314, 313, 312, 311} + py{315, 314} [testenv] skip_install = true