Skip to content

Add Python 3.15 support - #2657

Open
brettcannon wants to merge 3 commits into
github:mainfrom
brettcannon:brettcannon-python-3-15-support
Open

brettcannon wants to merge 3 commits into
github:mainfrom
brettcannon:brettcannon-python-3-15-support

Conversation

@brettcannon

Copy link
Copy Markdown
Contributor

Python 3.15 is the newest supported Python release, but the package metadata and CI coverage currently stop at earlier versions. This change advertises 3.15 support and continuously verifies both ends of the supported range.

  • Add the Python 3.15 PyPI classifier.
  • Run the Python SDK test matrix on Python 3.11 and 3.15 across Linux, macOS, and Windows for both default and in-process transports.
  • Allow prerelease Python resolution so CI can test 3.15 release candidates before GA and naturally use stable 3.15 afterward.

Validation

  • Compiled the SDK and parsed its package metadata in a virtual environment using CPython 3.15.0rc2 free-threaded.
  • git diff --check

The full local dependency/test run was not available because the sandbox denied uv temporary/cache writes; CI provides the complete test coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 14, 2026 19:32
@brettcannon
brettcannon requested a review from a team as a code owner September 14, 2026 19:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The metadata and CI changes consistently cover both supported Python-version boundaries.

Review tier: Balanced
Findings: None

What changed in this PR

Adds Python 3.15 support metadata and CI coverage across supported platforms and transports.

Changes:

  • Advertises Python 3.15 compatibility.
  • Tests Python 3.11 and 3.15, allowing prerelease resolution.
File Description
python/​pyproject.toml Adds the Python 3.15 classifier.
.github/​workflows/​python-sdk-tests.yml Expands the test matrix and enables prereleases.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@brettcannon

Copy link
Copy Markdown
Contributor Author

FYI Python 3.15 is due out October 1.

brettcannon and others added 2 commits September 14, 2026 14:10
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@brettcannon

Copy link
Copy Markdown
Contributor Author

The Python 3.11 failure looks to be some testing timeout issue and is not related to the PR.

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