Commit ec6abdb
committed
Fix Python CI failures for azure-iot-deviceupdate 1.1.0
- cspell: add 'deser' and 'duiothub' to the deviceupdate override block
(deser is used as a parameter name in generated model_base.py; duiothub
appears in tsp-location.yaml as the spec directory name).
- pyproject.toml: bump Development Status classifier from '4 - Beta' to
'5 - Production/Stable' and flip is_stable to true to match the 1.1.0 GA
release version (Verify sdist gate).
- CHANGELOG.md: replace placeholder text in the 1.1.0 entry with proper
Features Added / Other Changes sections, and remove the stale
'1.0.1 (Unreleased)' block that broke chronological date ordering.
- samples/GetDevice/sample_get_device.py, sample_deploy_update.py,
sample_get_update.py, sample_import_update.py: use distinct variable
names per call so mypy stops flagging incompatible reassignment of
ItemPaged[T] / model types (7 mypy errors).
- api.md, api.metadata.yml: generated via 'azpysdk apistub --md
--extract-metadata' to satisfy the consistency / API.md gate.
Known remaining failure: Run Tests jobs across all OS/Python matrices fail
because the recorded test-proxy sessions were captured against the old
generated client and no longer match the new TypeSpec-emitted wire shape
(x-request-mismatch-error). Re-recording requires live-service access and
will be done in a follow-up.1 parent dee127e commit ec6abdb
9 files changed
Lines changed: 2023 additions & 26 deletions
File tree
- .vscode
- sdk/deviceupdate/azure-iot-deviceupdate
- samples
- DeployUpdate
- GetDevice
- GetUpdate
- ImportUpdate
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1669 | 1669 | | |
1670 | 1670 | | |
1671 | 1671 | | |
| 1672 | + | |
| 1673 | + | |
1672 | 1674 | | |
1673 | 1675 | | |
1674 | 1676 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 5 | | |
10 | 6 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments