Skip to content

build: support Python 3.15 #448

Closed

Description

@uniqueg

Why?

Python 3.15 is released. FOCA supports Python 3.11 to 3.14 and publishes a base image for each version; apps built on FOCA (Cloud Registry, proTES, TRS-Filer) pick their Python version from these images.

What?

Support Python 3.15 in FOCA 0.18.0:

  • Package metadata: the 3.15 classifier, and requires-python unchanged unless an older version is dropped (not part of this issue).
  • CI: unit tests (all MongoDB variants), integration tests and the image build, scan and publish jobs for 3.15, in checks.yml, release.yml and scan.yml, and in the aggregate checks "Unit tests" and "Scan images".
  • Images: elixircloud/foca:<version>-py3.15, built from the official Python 3.15 base image, plus the same pip/setuptools handling as the other versions.
  • Dependencies: check that all runtime, test and lint dependencies install and pass on 3.15 (wheels for compiled packages, e.g. pydantic-core); raise lower bounds where needed.
  • Docs: supported versions in the README, Getting started ("Docker") and the migration notes of 0.18.0; Read the Docs build image if it pins a Python version.
  • Default image: the unsuffixed tags (X.Y.Z, latest) stay on Python 3.13 (default: true in the image matrix). Policy (maintainer): the default is the newest Python version in its security-fix phase; 3.14 and 3.15 are still in bugfix. Document this policy where the image tags are described (Getting started, "Docker").

Notes

  • Dependabot keeps the Python base images up to date, but it doesn't add new minor versions; the matrix entries are added by hand.
  • The apps follow separately, once they move to FOCA 0.18.0.
  • Next year (about October 2027, when 3.11 reaches end of life and 3.16 is released): drop 3.11, add 3.16, and move the default to 3.14.

Activity

  1. added this to the v0.18.0 milestone on Oct 23, 2026
  2. added
    priority: medium
    status: triage
    type: maintenance
    workload: hours
    status: in progress
    and removed
    status: triage
    on Oct 23, 2026
  3. removed
    status: in progress
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: maintenanceworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions