Skip to content

[AutoPR azure-batch]-generated-from-SDK Generation - Python-7048707 - #49872

Open
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-batch-7048707
Open

azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-batch-7048707

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

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

Copilot AI balanced review requested due to automatic review settings November 6, 2026 19:53
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Nov 6, 2026
@azure-sdk-automation

Copy link
Copy Markdown
Contributor Author

Add sdk-api-review-ready when this working PR is ready for API review of azure-batch. The review will compare target version 15.2.0 from this working PR against baseline version 15.1.0 (tag azure-batch_15.1.0). If you need a different comparison, use the Azure SDK CLI (azsdk apireview create).

@github-actions github-actions Bot added the Batch label Nov 6, 2026
@azure-pipelines

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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
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

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. Batch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants