Refresh azure-mgmt-botservice after migrate to Typespec#47894
Refresh azure-mgmt-botservice after migrate to Typespec#47894azure-sdk-automation[bot] wants to merge 3 commits into
Conversation
…BotService/BotService/tspconfig.yaml', API Version: 2023-09-15-preview, SDK Release Type: beta, and CommitSHA: 'a7bdbe741c0ef1f1b159d8569b173757bd823ae9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6527984 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 azure-mgmt-botservice management-plane package by regenerating it from TypeSpec (spec commit a7bdbe7, API version 2023-09-15-preview), releasing it as a beta major version bump (2.0.0 → 3.0.0b1). The migration renames the public client from AzureBotService to AzureBotServiceMgmtClient, moves generated operations into consolidated _operations.py modules, adds new Network Security Perimeter operations, and modernizes packaging (drops setup.py/sdk_packaging.toml/_meta.json in favor of pyproject.toml + _metadata.json).
Changes:
- Regenerated client/config/operations from TypeSpec; renamed client to
AzureBotServiceMgmtClientand raised the minimum Python to 3.10. - Migrated packaging metadata into
pyproject.toml, updatedREADME.md,MANIFEST.in,tsp-location.yaml, and refreshed generated samples/tests. - Documented the API surface changes and breaking changes in
CHANGELOG.mdfor3.0.0b1.
I verified the mgmt review rules: version consistency (_version.py == CHANGELOG 3.0.0b1), release date not in the future, preview stability flags (is_stable=false + Beta classifier), client name consistency across _client.py/README/pyproject title, and client __init__ order credential, subscription_id, base_url. All pass. No actionable defects were found within the changed regions of reviewable (non-generated) files.
Reviewed changes
Copilot reviewed 128 out of 134 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
azure/mgmt/botservice/_version.py |
Bumps version to 3.0.0b1 (matches CHANGELOG). |
azure/mgmt/botservice/__init__.py, aio/__init__.py |
Re-export renamed AzureBotServiceMgmtClient. |
azure/mgmt/botservice/_configuration.py, aio/_configuration.py |
Regenerated config; adds base_url/cloud_setting, API version 2023-09-15-preview. |
azure/mgmt/botservice/operations/__init__.py, aio/operations/__init__.py |
Point operations imports at consolidated _operations. |
azure/mgmt/botservice/**/_patch.py, _utils/__init__.py, _vendor.py, azure/__init__.py, azure/mgmt/__init__.py |
Generator boilerplate/license header refresh; removes legacy _vendor.py. |
pyproject.toml |
Adds full build/project metadata; preview stability flags; keeps [packaging] with title = "AzureBotServiceMgmtClient". |
setup.py, sdk_packaging.toml, _meta.json (deleted) |
Legacy packaging removed, replaced by pyproject.toml + _metadata.json. |
README.md, MANIFEST.in, tsp-location.yaml, _metadata.json, api.metadata.yml |
Docs/packaging/generation metadata updated for TypeSpec + Python 3.10+. |
CHANGELOG.md |
Adds 3.0.0b1 features and breaking changes. |
tests/*.py |
Formatting-only updates to top-level (disabled) tests. |
generated_samples/*, generated_tests/* |
Regenerated samples/tests (out of scope per mgmt review rules). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Configurations: 'specification/botservice/resource-manager/Microsoft.BotService/BotService/tspconfig.yaml', API Version: 2023-09-15-preview, SDK Release Type: beta, and CommitSHA: 'a7bdbe741c0ef1f1b159d8569b173757bd823ae9' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6527984 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.