Skip to content

Commit 0f02931

Browse files
iscai-msftiscai-msftCopilot
authored
Bump @typespec/http-client-python catalog to ^0.29.0 (#4413)
## Problem All Python CI runs are consistently failing with 2 test failures: - `test_put_model_property` (sync) in `test_azure_client_generator_core_client_default_value.py` - `test_put_model_property` (async) in `test_azure_client_generator_core_client_default_value_async.py` The error is: ``` Body provided doesn't match expected body: at $: Key count mismatch: expected 4 but got 1. missing: [timeout, tier, retry] ``` ## Root Cause The catalog specifies `@typespec/http-client-python: ^0.28.3`. For 0.x semver, `^0.28.3` means `>=0.28.3 <0.29.0`, so version `0.29.0` (which contains the `@clientDefaultValue` serialization fix from [microsoft/typespec#10546](microsoft/typespec#10546)) is excluded. The `azure-http-specs` mock API was updated to validate that `@clientDefaultValue` defaults are included in request bodies, but the installed generator version (0.28.3) doesn't serialize them. ## Fix - Bump catalog to `^0.29.0` - Add `@typespec/http-client-python` to `minimumReleaseAgeExclude` (0.29.0 was published <2 days ago) --------- Co-authored-by: iscai-msft <isabellavcai@gmail.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent fe097e5 commit 0f02931

3 files changed

Lines changed: 20 additions & 12 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
changeKind: dependencies
3+
packages:
4+
- "@azure-tools/typespec-python"
5+
---
6+
7+
Bump @typespec/http-client-python from ^0.28.3 to ^0.29.0

pnpm-lock.yaml

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ overrides:
1616
minimumReleaseAge: 2880 # 2 days
1717
minimumReleaseAgeExclude:
1818
- "@alloy-js/*"
19+
- "@typespec/http-client-python"
1920

2021
catalog:
2122
"@alloy-js/cli": ^0.23.0
@@ -85,7 +86,7 @@ catalog:
8586
"@typescript-eslint/rule-tester": ^8.58.1
8687
"@typescript-eslint/types": ^8.58.1
8788
"@typescript-eslint/utils": ^8.58.1
88-
"@typespec/http-client-python": ^0.28.3
89+
"@typespec/http-client-python": ^0.29.0
8990
"@typespec/ts-http-runtime": "0.3.4"
9091
"@vitejs/plugin-react": ^6.0.1
9192
"@vitest/coverage-v8": ^4.1.3

0 commit comments

Comments
 (0)