From 6493e3fa713e32bd0e09b26e3a87143c539fde29 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 17:53:54 +0000 Subject: [PATCH 1/2] ci(backend-py): Pin test job to ubuntu-24.04 for Python 3.9 Co-Authored-By: Matt Duncan --- .github/workflows/backend-py.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend-py.yml b/.github/workflows/backend-py.yml index 449a6c6..ef3515f 100644 --- a/.github/workflows/backend-py.yml +++ b/.github/workflows/backend-py.yml @@ -12,7 +12,8 @@ on: jobs: test: timeout-minutes: 10 - runs-on: ubuntu-latest + # actions/python-versions has no Python 3.9 build for ubuntu-latest (26.04) + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 From 72f05bc9dbd0780f903ceb8cd70982bc1a221b0a Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 18:01:30 +0000 Subject: [PATCH 2/2] build(backend-py): Upgrade Python from 3.9 to 3.13 Co-Authored-By: Matt Duncan --- .github/workflows/backend-py.yml | 5 ++--- backend-py/Dockerfile | 2 +- backend-py/requirements.txt | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/backend-py.yml b/.github/workflows/backend-py.yml index ef3515f..b71c932 100644 --- a/.github/workflows/backend-py.yml +++ b/.github/workflows/backend-py.yml @@ -12,14 +12,13 @@ on: jobs: test: timeout-minutes: 10 - # actions/python-versions has no Python 3.9 build for ubuntu-latest (26.04) - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.13" - uses: "./.github/actions/setup-test" diff --git a/backend-py/Dockerfile b/backend-py/Dockerfile index 6df0505..cd3d1a9 100644 --- a/backend-py/Dockerfile +++ b/backend-py/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim as backend-py +FROM python:3.13-slim as backend-py RUN apt update && \ apt install -y python3-dev gcc libpq-dev diff --git a/backend-py/requirements.txt b/backend-py/requirements.txt index 5a5629c..015cf12 100644 --- a/backend-py/requirements.txt +++ b/backend-py/requirements.txt @@ -7,7 +7,7 @@ flake8==4.0.1 Flask==2.0.3 Flask-Cors==3.0.10 Flask-SQLAlchemy==2.5.1 -greenlet==1.1.2 +greenlet==3.5.6 idna==3.3 iniconfig==1.1.1 itsdangerous==2.1.0 @@ -19,7 +19,7 @@ packaging==21.3 pathspec==0.9.0 platformdirs==2.5.1 pluggy==1.0.0 -psycopg2==2.9.3 +psycopg2==2.9.13 py==1.11.0 pycodestyle==2.8.0 pyflakes==2.4.0