Skip to content

Chore: Add Python 3.15 support #530

Closed

Description

Summary

Declare Python 3.15 support. Line numbers are from c5c338e on main; if main has moved, find the same text.

Why

Python 3.10 reached end of life on 2026-10-01. Some dependencies no longer ship security fixes that install on it, so audits on a 3.10 leg can block dependency PRs (see lfreleng-actions/http-api-tool-docker#445). Python 3.15.0 shipped on 2026-10-09 (3.15.2 is current) and actions/setup-python installs it.

Changes

  • In pyproject.toml classifiers, add Programming Language :: Python :: 3.15
  • Bump the locked setuptools past 83.0.0 with uv lock --upgrade-package setuptools: pip-audit reports GHSA-xmj3-9gf7-h52w (low; fixed in 84.1.0) against the current lock

Do not change anything else. In particular, do not bump unrelated dependencies, and do not edit AGENTS.md, LICENSE*, REUSE.toml or .gitlint.

Local validation already done

Checked against c5c338e with this change applied (requires-python >=3.11, uv lock re-resolved), following python-workflows: uv sync --all-extras --all-groups on CPython 3.15.2, uv build (sdist and wheel, where a build backend is declared), pytest, and pip-audit on the installed environment. Result: test suite passes on 3.15; build OK.

CI note: python-workflows derives its test matrix from build-metadata-action, which still caps the range at 3.10-3.14 (tracked separately). Until that releases, CI on this PR will not run a 3.15 leg; the local run above covers it.

Acceptance criteria

  • A single commit with the subject in this issue's title, which is also the PR title
  • No Python 3.10 requirement, classifier, tool target or test matrix entry remains (the exceptions listed above stay)
  • uv lock --check passes (where uv.lock exists)
  • prek run --all-files passes, and aislop ci --changes adds no findings
  • The test suite passes on 3.11 and 3.15 (uv run --python 3.15 pytest)
  • CI passes on the pull request

Activity

  1. lf-releng-code-monkey-bot commented on Nov 5, 2026

    @lf-releng-code-monkey-bot
    Contributor

    🐒 An AI agent has proposed a change for this issue: pull request #531 (head 27dfb35). The Copilot review of it is clean.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions