Refresh azure-mgmt-recoveryservicessiterecovery after migrate to Typespec#47667
Refresh azure-mgmt-recoveryservicessiterecovery after migrate to Typespec#47667azure-sdk wants to merge 2 commits into
Conversation
…manager/Microsoft.RecoveryServices/SiteRecovery/tspconfig.yaml', API Version: 2025-08-01, SDK Release Type: stable, and CommitSHA: '8a6875438f0aba253bdcb9e9ccc7013e886af024' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6480999 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
There was a problem hiding this comment.
Pull request overview
This PR refreshes the management-plane package azure-mgmt-recoveryservicessiterecovery after its migration to TypeSpec, promoting it from the preview 2.0.0b1 to the stable GA release 2.0.0 (API version 2025-08-01). It updates the spec commit pin, regenerates code with a newer emitter (0.61.3 → 0.63.2), and aligns packaging/docs metadata for a stable release. The bulk of the diff is regenerated source under azure/mgmt/**/ (operations, models, and the shared _utils serialization/model-base runtime), which is generated code.
Changes:
- Version/stability promotion to GA
2.0.0:_version.py,pyproject.toml(is_stable=true,Development Status :: 5 - Production/Stable), and a comprehensive CHANGELOG entry. - Dependency/runtime modernization: drop Python 3.9 (require
>=3.10), gateSelfimport behindsys.version_info, add numeric duration serializers and fast-path scalar/XML deserialization in the generated_utils. - Metadata/spec refresh:
tsp-location.yaml,_metadata.json(new commit + emitter versions),apiview-properties.json(CrossLanguageVersion), and newapi.metadata.yml.
Per the management-plane review rules, generated source under azure/mgmt/**/ (other than _client.py) and the generated_* folders were not line-reviewed. The reviewable surface — client signature, client-name consistency, version/changelog consistency, stability flags, and README — was verified and is internally consistent. No issues were found in the reviewable scope.
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
tsp-location.yaml |
Pins the new spec commit for regeneration. |
README.md |
Updates supported Python to 3.10+ and switches AAD wording to Microsoft Entra. |
pyproject.toml |
Sets stable classifiers/is_stable=true, requires-python>=3.10, adds 3.14, drops 3.9. |
CHANGELOG.md |
Adds the 2.0.0 (2026-06-25) GA entry (features + breaking changes). |
_version.py |
Bumps version to 2.0.0, matching the changelog. |
_client.py / aio/_client.py |
Gates Self import by Python version; updates api_version docstring. |
_configuration.py / aio/_configuration.py |
Updates api_version docstring (default now None). |
operations/_operations.py / aio/operations/_operations.py |
Generated: forward headers on next-link requests; drop LRO Location/Retry-After headers; fix RP casing. |
models/_models.py |
Generated: escape backslashes in docstrings. |
_utils/serialization.py / _utils/model_base.py |
Generated runtime: numeric duration formats and fast-path deserialization. |
_metadata.json |
Updates commit, emitter version, and http-client-python version. |
apiview-properties.json |
Adds CrossLanguageVersion. |
api.metadata.yml |
New API surface snapshot metadata. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
❌ Live Test ResultsSummary: 2 failed, 2 warnings in 12.12s Failed Tests
|
Configurations: 'specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/SiteRecovery/tspconfig.yaml', API Version: 2025-08-01, SDK Release Type: stable, and CommitSHA: '8a6875438f0aba253bdcb9e9ccc7013e886af024' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6480999 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.