Repository navigation
Add Python 3.15 support to the Python emitter - #12161
Merged
Libba Lawrence (l0lawrence) merged 3 commits intoOct 16, 2026
Merged
Libba Lawrence (l0lawrence) merged 3 commits into
Libba Lawrence (l0lawrence) merged 3 commits into
Conversation
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add 3.15 support to emitter
Add Python 3.15 support to the Python emitter
Oct 12, 2026
commit: |
Libba Lawrence (l0lawrence)
marked this pull request as ready for review
October 15, 2026 17:09
Libba Lawrence (l0lawrence)
requested review from
ChenxiJiang333,
catalinaperalta,
iscai-msft,
Kashif Khan (kashifkhan),
Laurent Mazuel (lmazuel),
Mark Cowlishaw (markcowl),
Yuchao Yan (msyyc),
Chenjie Shi (tadelesh),
Timothee Guerin (timotheeguerin) and
Jeff Fisher (xirzec)
as code owners
October 15, 2026 17:09
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The focused metadata changes have a regression assertion and no blocking findings; tests were not run.
1 open finding
What changed in this PR
Updates Python emitter metadata to advertise Python 3.15 support.
Changes:
- Extends generated-client and generator-package classifiers through Python 3.15.
- Updates the generated fixture and adds a regression assertion.
- Adds a changelog entry.
| File | Description |
|---|---|
packages/http-client-python/tests/unit/test_pyproject_keep_fields.py |
Asserts the Python 3.15 classifier is generated. |
packages/http-client-python/tests/generated/azure/authentication-union/pyproject.toml |
Updates the generated classifier fixture. |
packages/http-client-python/generator/setup.py |
Advertises Python 3.15 for the generator. |
packages/http-client-python/generator/pygen/codegen/serializers/general_serializer.py |
Raises the maximum classifier version to 3.15. |
.chronus/changes/python-3-15-support-2026-10-12.md |
Documents the metadata update. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
iscai-msft
approved these changes
Oct 15, 2026
Member
|
Copilot can you make sure that we upgrade the maximum python version we test with as well? |
Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
Contributor
Author
|
You can try these changes here
|
Yuchao Yan (msyyc)
approved these changes
Oct 16, 2026
Libba Lawrence (l0lawrence)
deleted the
copilot/microsofttypespec-12158-add-3-15-support-to-emitte
branch
October 16, 2026 16:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Generated Python package metadata did not advertise Python 3.15. The emitter now includes it in supported-version classifiers.