Skip to content

Commit ec6abdb

Browse files
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/cspell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,6 +1669,8 @@
16691669
"mday",
16701670
"unflattened",
16711671
"deseralize",
1672+
"deser",
1673+
"duiothub",
16721674
"astimezone",
16731675
"ctxt",
16741676
"Nify"

sdk/deviceupdate/azure-iot-deviceupdate/CHANGELOG.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22

33
## 1.1.0 (2026-06-15)
44

5-
skip changelog generation for data-plane package and please add changelog manually.
6-
7-
## 1.0.1 (Unreleased)
8-
95
### Features Added
106

11-
### Breaking Changes
12-
13-
### Bugs Fixed
7+
- Regenerated client from TypeSpec specification. The library now uses the unified
8+
`azure.core` HTTP pipeline and shares model infrastructure with other modern
9+
Azure Python SDKs.
1410

1511
### Other Changes
1612

13+
- Migrated source of truth from Swagger to TypeSpec
14+
(`specification/deviceupdate/data-plane/duiothub`).
15+
- Updated minimum required `azure-core` to `1.37.0`.
16+
- Dropped support for Python 3.8 and 3.9; minimum supported Python is 3.10.
17+
1718
## 1.0.0 (2022-09-09)
1819

1920
### Features Added

0 commit comments

Comments
 (0)