Add Python 3.14 classifier to generated pyproject.toml#10246
Merged
Conversation
Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/f076c9b8-cb57-4388-adb2-1802570a57ab Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/0ce2ef00-fe22-4f6a-8723-9240686f3462 Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
johanste
April 2, 2026 01:08
View session
commit: |
….toml Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/2161830c-5af3-44a8-821f-77f1434d104c Co-authored-by: johanste <15110018+johanste@users.noreply.github.com>
dargilco
approved these changes
Apr 2, 2026
In types.py (TypedDict definitions), use the JSON wire type instead of rich Python types for properties: - datetime.datetime → str - datetime.date → str - datetime.time → str - datetime.timedelta → str - datetime.datetime (unix) → int - decimal.Decimal → float - bytes → str This follows the principle that TypedDicts represent the wire/JSON shape of the data. Rich types like datetime are still used in model classes and operation signatures. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
iscai-msft
marked this pull request as ready for review
June 5, 2026 20:05
iscai-msft
requested review from
ChenxiJiang333,
catalinaperalta,
iscai-msft,
l0lawrence,
lmazuel,
msyyc,
tadelesh and
timotheeguerin
as code owners
June 5, 2026 20:05
iscai-msft
enabled auto-merge
June 5, 2026 20:05
Contributor
|
All changed packages have been documented.
Show changes
|
catalinaperalta
approved these changes
Jun 5, 2026
l0lawrence
approved these changes
Jun 5, 2026
|
You can try these changes here
|
JennyPng
pushed a commit
to JennyPng/typespec
that referenced
this pull request
Jun 10, 2026
- [x] Update `MAX_PYTHON_VERSION` from `"3.13"` to `"3.14"` in `packages/http-client-python/generator/pygen/codegen/serializers/general_serializer.py` so emitted `pyproject.toml` includes the Python 3.14 classifier - [x] Add changelog entry for `@typespec/http-client-python` (feature kind) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: johanste <15110018+johanste@users.noreply.github.com> Co-authored-by: iscai-msft <isabellavcai@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
MAX_PYTHON_VERSIONfrom"3.13"to"3.14"inpackages/http-client-python/generator/pygen/codegen/serializers/general_serializer.pyso emittedpyproject.tomlincludes the Python 3.14 classifier@typespec/http-client-python(feature kind)