Skip to content

[MAINT]: Add Python 3.14 Support#56

Merged
spencrr merged 1 commit into
microsoft:mainfrom
spencrr:spencrr/python-3.14
May 20, 2026
Merged

[MAINT]: Add Python 3.14 Support#56
spencrr merged 1 commit into
microsoft:mainfrom
spencrr:spencrr/python-3.14

Conversation

@spencrr
Copy link
Copy Markdown
Contributor

@spencrr spencrr commented May 20, 2026

Description

Adds Python 3.14 to RAMPART's officially supported/tested versions.

Changes

  • pyproject.toml: added Programming Language :: Python :: 3.14 classifier.
    requires-python = ">=3.11" already permitted 3.14, no constraint change needed.
  • .github/workflows/ci.yml: added 3.14 to the test matrix.
  • .github/ISSUE_TEMPLATE/bug_report.yml: added 3.14 to the Python version dropdown.
  • uv.lock: refreshed (no resolution changes).

Verification

  • uv lock resolves all 163 transitive dependencies cleanly on 3.14.
  • uv sync --python 3.14 installs cleanly
  • Full test suite passes locally on CPython 3.14.3

Notes on what we deliberately did not change

  • No upper cap on requires-python — per PyPA guidance, capping propagates pain to downstream consumers.
  • Pyright pythonVersion stays pinned to the floor (3.11) so type-checks catch code that wouldn't run on the oldest supported version.
  • Ruff has no explicit target-version; it derives from requires-python, which is correct.

Related

PyRIT added 3.14 support in microsoft/PyRIT#1130, which is what unblocked picking it up here (pyrit is our heaviest transitive constraint).

Breaking changes

None

Checklist

  • pre-commit run --all-files passes
  • Tests added or updated for changes
  • Documentation updated

@spencrr spencrr requested a review from a team May 20, 2026 22:47
Comment thread uv.lock
@spencrr spencrr merged commit 8c14c4f into microsoft:main May 20, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants