Repository navigation
[AutoPR azure-batch]-generated-from-SDK Generation - Python-7048707 - #49872
azure-sdk-automation[bot] wants to merge 6 commits into
Conversation
…, SDK Release Type: stable, and CommitSHA: '0b01059c3d95a84bc84ff16a4bb0fd10f66f3abd' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=7048707 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
|
Add |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
🟡 Changes recommended
Regeneration breaks Shared Key authentication and removes public models and polling methods, while the stable release’s Beta classifier would fail package validation.
5 open issues
Preserve client authentication and error-handling customizations · New Preserve removed models and enum value or make a major release · New Restore the removed public error and file properties classes · New Keep the Production/Stable classifier for this stable release · New Add release notes for API changes and dropped Python 3.9 support · New
What changed in this PR
Regenerates the Azure Batch Python SDK for service API 2026-10-01, targeting stable package version 15.2.0.
Changes:
- Updates models, enums, client configuration, and generation metadata.
- Removes handwritten client, model, and polling customizations while refreshing serialization utilities.
- Moves packaging settings into
pyproject.toml, raises the Python minimum to 3.10, and reformats samples.
All paths below are relative to sdk/batch/azure-batch/.
| File | Description |
|---|---|
tsp-location.yaml |
Updates the source specification commit. |
tests/async_wrapper.py |
Adds a formatting-only trailing comma. |
sdk_packaging.toml |
Removes settings moved into pyproject.toml. |
samples/tutorial_parallel_python.py |
Reformats the parallel-processing tutorial. |
samples/quick_run_python.py |
Reformats the quickstart sample. |
samples/pool_endpoint_configuration.py |
Reformats network configuration examples. |
samples/create_pool_ephemeral_os_disk.py |
Reformats disk configuration. |
samples/batch_user_accounts.py |
Reformats user-account examples. |
samples/batch_samples_hello_world.py |
Cleans up docstring whitespace. |
samples/batch_linux_nodes.py |
Reformats Linux-node examples. |
samples/batch_docker_container_workloads.py |
Reformats container workload examples. |
samples/batch_automatic_scaling.py |
Reformats the module docstring. |
pyproject.toml |
Consolidates packaging settings and changes Python support and maturity metadata. |
CHANGELOG.md |
Adds a placeholder release entry for 15.2.0. |
azure/batch/models/_patch.py |
Removes handwritten public model and exception classes. |
azure/batch/models/_enums.py |
Adds allocation enums and removes retained-data members. |
azure/batch/models/__init__.py |
Updates public model and enum exports. |
azure/batch/aio/_vendor.py |
Removes async typing and ETag helpers. |
azure/batch/aio/_patch.py |
Removes the customized async client. |
azure/batch/aio/_operations/_polling_async.py |
Removes custom async polling implementations. |
azure/batch/aio/_configuration.py |
Updates the default service API version. |
azure/batch/aio/_client.py |
Refreshes async client documentation and typing imports. |
azure/batch/_version.py |
Sets package version to 15.2.0. |
azure/batch/_vendor.py |
Removes sync typing and ETag helpers. |
azure/batch/_utils/serialization.py |
Adds numeric-duration support and scalar deserialization shortcuts. |
azure/batch/_utils/model_base.py |
Updates defaults, duration handling, and XML deserialization. |
azure/batch/_patch.py |
Removes custom authentication, error handling, and client wiring. |
azure/batch/_operations/_polling.py |
Removes custom synchronous polling implementations. |
azure/batch/_model_base.py |
Removes the legacy model utility module. |
azure/batch/_configuration.py |
Updates the default service API version. |
azure/batch/_client.py |
Refreshes sync client documentation and typing imports. |
apiview-properties.json |
Updates cross-language API mappings and version metadata. |
api.metadata.yml |
Adds API snapshot metadata. |
_metadata.json |
Records the new API version and generation provenance. |
Review effort: Balanced
Restore shared-key authentication, error handling, task and file wrappers, and sync/async polling. Adapt generated duration parameters, add regression coverage, and refresh stable release metadata and API snapshots. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Correct handwritten documentation, test helpers, samples, and README links. Use public operation model names and add regression coverage for public exports and optional-body POST serialization in 16.0.0. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Record all 32 sync/async service cases against API 2026-10-01. Use Windows Server 2022 Gen2 nodes, disable anonymous Blob access on test Storage accounts, validate ZIP fixtures, sanitize log container SAS URLs, and bound file-node readiness waits. Verified 32 recorded cases in playback and 39 focused regression tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
[Pilot] PR Pipeline Failure AnalysisWhat failedBuild 7092541 — the Root cause — sphinx doc build failure (Build Docs job): Relevant pipeline outputThe current build log excerpt captured by the analyzer only includes surrounding install/build context, not the raw Recommended next steps
Automated fix: Requested
|
Regenerate OutputFile wildcard examples as literal code and flatten the Windows licensing description to address four Sphinx docutils warnings. Runtime model code is unchanged. Generated from Python-scoped clientDoc overrides prepared in the local TypeSpec checkout; upstream source changes remain pending. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Test sync/async payload serialization and nested model deserialization, all SKU allocation strategies, omitted policies, and task-completion option wire values. Add four zero-node create/get pool recordings and document feature-enabled account setup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>


Configurations: 'specification/batch/data-plane/Batch/tspconfig.yaml', SDK Release Type: stable, API Versions: '2026-10-01' (Namespace: 'Azure.Batch'), and CommitSHA: '0b01059c3d95a84bc84ff16a4bb0fd10f66f3abd' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=7048707 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=35234 Submitted by: xingwu@microsoft.com