Commit 0f02931
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
- .chronus/changes
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | | - | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments