Refresh azure-mgmt-databox after migrate to Typespec#47852
Open
azure-sdk-automation[bot] wants to merge 4 commits into
Open
Refresh azure-mgmt-databox after migrate to Typespec#47852azure-sdk-automation[bot] wants to merge 4 commits into
azure-sdk-automation[bot] wants to merge 4 commits into
Conversation
…aBox/DataBox/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: beta, and CommitSHA: '6c19e3347d60ee62bccec0b56680ca79a162b99b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6521705 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refreshes the azure-mgmt-databox management package by regenerating it from TypeSpec (previously AutoRest), moving from API version 2025-02-01 to 2025-07-01 and bumping the package from 3.1.0 to the beta 4.0.0b1. It migrates packaging from setup.py/sdk_packaging.toml into pyproject.toml, consolidates operation modules, and adds cloud-aware ARM endpoint handling to the client.
Changes:
- Regenerated client/models/operations from TypeSpec; consolidated operations into
_operations.py, removed_vendor.pyand legacy per-operation modules, and added a_utilsserialization package. - Introduced new client capabilities (
cloud_setting, publicsend_request,etag/match_conditionforbegin_update) and reshaped several models aroundpropertiescontainers, documented as breaking changes in the CHANGELOG. - Migrated packaging metadata to
pyproject.toml(Python>=3.10,azure-mgmt-core>=1.6.0), updated README to Python 3.10+/Microsoft Entra, and refreshed generated tests/samples to the new API version.
Reviewed changes
Copilot reviewed 78 out of 84 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
azure/mgmt/databox/_client.py / aio/_client.py |
New cloud-aware ARM endpoint construction, public send_request, inherits _DataBoxManagementClientOperationsMixin; signature order verified. |
azure/mgmt/databox/_configuration.py / aio/_configuration.py |
Adds base_url/cloud_setting, default API version 2025-07-01. |
pyproject.toml |
Packaging metadata moved from setup.py; beta flags, Python 3.10+, dependency bumps. |
setup.py, sdk_packaging.toml, _meta.json, _vendor.py(s), legacy operations/* |
Removed as part of TypeSpec migration. |
CHANGELOG.md / _version.py |
Adds 4.0.0b1 (2026-07-06) with features/breaking changes; versions consistent. |
README.md |
Python 3.10+ and Microsoft Entra wording; client snippet matches signature. |
models/_enums.py, models/__init__.py, operations/__init__.py |
Regenerated enums/exports (adds CreatedByType, *Properties, TrackedResource; removes list-wrapper models and old mixin export). |
_utils/serialization.py, _utils/utils.py, _utils/__init__.py |
New generated serialization layer and etag/match-condition helpers. |
tsp-location.yaml, _metadata.json, api.metadata.yml, apiview-properties.json, MANIFEST.in |
Generation metadata and manifest updated for TypeSpec. |
generated_tests/*, generated_samples/* |
Regenerated to new API version/operation shapes (generated; out of manual review scope). |
Member
✅ Live Test ResultsSummary: 6 passed, 6 warnings in 64.14s (0:01:04) |
msyyc
approved these changes
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configurations: 'specification/databox/resource-manager/Microsoft.DataBox/DataBox/tspconfig.yaml', API Version: 2025-07-01, SDK Release Type: beta, and CommitSHA: '6c19e3347d60ee62bccec0b56680ca79a162b99b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6521705 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.