From 7716dbb0195c5b9553ec2e819517353959771122 Mon Sep 17 00:00:00 2001 From: mariatta Date: Tue, 20 Oct 2026 17:04:05 -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 +- readme.rst | 2 +- runtime.txt | 1 - tox.ini | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 runtime.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 626353b..df5b88b 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@v7 diff --git a/Dockerfile b/Dockerfile index 94359d2..a02327f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.14-slim +FROM python:3.15-slim ENV PYTHONUNBUFFERED=1 diff --git a/readme.rst b/readme.rst index 93d99b8..b07ca62 100644 --- a/readme.rst +++ b/readme.rst @@ -63,7 +63,7 @@ Configuration variables, set in the cabotage UI: Requirements and dependencies ============================= -- Python 3.11+ +- Python 3.14+ - aiohttp - aiohttp-jinja2 - gidgethub >= 5.0.0 diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 250d1e3..0000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.10.2 diff --git a/tox.ini b/tox.ini index 9438956..eeb8fde 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] deps =