Repository navigation
[AutoPR azure-batch]-generated-from-SDK Generation - Python-7048707 - #49872
Open
azure-sdk-automation[bot] wants to merge 1 commit into
Open
azure-sdk-automation[bot] wants to merge 1 commit into
azure-sdk-automation[bot] wants to merge 1 commit 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.
azure-sdk-automation
Bot
requested review from
Rena (cRui861),
David Watrous (dpwatrous),
iwang2,
Jingjing Li (jingjlii),
Victor Li (lilinvictorms),
Haopeng Wang (wanghoppe),
wiboris and
Xing Wu (xingwu1)
as code owners
November 6, 2026 19:53
Contributor
Author
|
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. |
Contributor
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
| if isinstance(credential, AzureNamedKeyCredential): | ||
| return BatchSharedKeyAuthPolicy(credential) | ||
| return None | ||
| __all__: list[str] = [] # Add all objects you want publicly available to users at this package level |
| # -------------------------------------------------------------------------- | ||
|
|
||
| VERSION = "15.1.0" | ||
| VERSION = "15.2.0" |
| self.content_length = content_length | ||
| self.content_type = content_type | ||
| self.file_mode = file_mode | ||
| __all__: list[str] = [] # Add all objects you want publicly available to users at this package level |
| license = "MIT" | ||
| classifiers = [ | ||
| "Development Status :: 5 - Production/Stable", | ||
| "Development Status :: 4 - Beta", |
|
|
||
| ## 15.2.0 (2026-11-06) | ||
|
|
||
| skip changelog generation for data-plane package and please add changelog manually. |
This branch has not been deployed
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/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