Skip to content

[AutoPR azure-mgmt-devopsinfrastructure]-generated-from-SDK Generation - Python-6605150#48224

Open
azure-sdk-automation[bot] wants to merge 2 commits into
mainfrom
sdkauto/azure-mgmt-devopsinfrastructure-6605150
Open

[AutoPR azure-mgmt-devopsinfrastructure]-generated-from-SDK Generation - Python-6605150#48224
azure-sdk-automation[bot] wants to merge 2 commits into
mainfrom
sdkauto/azure-mgmt-devopsinfrastructure-6605150

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Configurations: 'specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/DevOpsInfrastructure/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '0e55128a206a1be3feb030e748074722e98e5dcf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6605150 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=35438 Submitted by:

…Microsoft.DevOpsInfrastructure/DevOpsInfrastructure/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '0e55128a206a1be3feb030e748074722e98e5dcf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6605150 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Copilot AI review requested due to automatic review settings July 23, 2026 01:18
@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 Jul 23, 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.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the azure-mgmt-devopsinfrastructure package to a newer generated (preview) API surface and modern Python packaging, including new operations and typing helpers.

Changes:

  • Migrates packaging metadata from setup.py/sdk_packaging.toml to pyproject.toml and bumps SDK version to 1.1.0b1.
  • Regenerates client/operations/models for API version 2026-07-03-preview, adding check_name_availability and delete_resources.
  • Adds new generated samples/tests and introduces a generated types.py TypedDict surface plus shared utils/validation helpers.

Reviewed changes

Copilot reviewed 54 out of 54 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/tsp-location.yaml Points generation to the new REST spec directory/commit.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/setup.py Removes legacy setuptools setup script in favor of pyproject.toml.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/sdk_packaging.toml Removes legacy packaging config (moved into pyproject.toml).
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml Adds PEP 517/621 build + project metadata and embeds packaging info.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_tests/test_dev_ops_infrastructure_mgmt_pools_operations_async.py Updates request bodies and adds async tests for new pool operations.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_tests/test_dev_ops_infrastructure_mgmt_pools_operations.py Updates request bodies and adds sync tests for new pool operations.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/update_pool.py Adds a new generated sample for pool update.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/subscription_usages_usages.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/sku_list_by_location.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/resource_details_list_by_pool.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/pools_delete_resources.py Adds a new generated sample for the delete-resources action.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/pools_check_name_availability.py Adds a new generated sample for checking pool name availability.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/list_pools_by_subscription_and_resource_group.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/list_pools_by_subscription.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/list_operations.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/image_versions_list_by_image.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/get_pool.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/delete_pool.py Updates original-file references to the new preview spec version.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/create_or_update_pool_instance_mix.py Adds a new generated sample demonstrating instance-mix creation.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/create_or_update_pool.py Expands sample payload to match new spec features and updates original-file reference.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/types.py Adds TypedDict-based request-body type helpers for public typing.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/operations/_patch.py Updates patch scaffold header and typing annotation style.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/operations/_operations.py Regenerates operations layer for new API version + new pool actions and improved deserialization.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/operations/init.py Adjusts operation exports and patch import order/type checking.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/models/_patch.py Updates patch scaffold header and typing annotation style.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/models/_enums.py Adds new enums needed by new operations/features (availability, cert store, etc.).
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/models/init.py Regenerates model exports to include new models/enums and patch import order.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/operations/_patch.py Updates aio patch scaffold header and typing annotation style.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/operations/_operations.py Regenerates async operations layer for new API version + new pool actions.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/operations/init.py Adjusts aio operation exports and patch import order/type checking.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/_patch.py Updates aio patch scaffold header and typing annotation style.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/_configuration.py Updates async client config for new API version and cloud endpoint support.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/_client.py Updates async client initialization to resolve ARM endpoints via cloud settings.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/aio/init.py Updates aio package exports and patch import order/type checking.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_version.py Bumps package version to 1.1.0b1.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_validation.py Adds API-version validation decorator used by newly introduced operations.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_utils/init.py Adds new internal utils package marker for regenerated runtime helpers.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_serialization.py Regenerates serialization/deserialization utilities and typing improvements.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_patch.py Updates package patch scaffold header and typing annotation style.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_model_base.py Regenerates model base for improved XML/format handling and failsafe deserialization.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_configuration.py Updates sync client config for new API version and cloud endpoint support.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/_client.py Updates sync client initialization to resolve ARM endpoints via cloud settings.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/devopsinfrastructure/init.py Updates package exports and patch import order/type checking.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/mgmt/init.py Adds a type: ignore for namespace package path typing.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/azure/init.py Adds a type: ignore for namespace package path typing.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/apiview-properties.json Adds/updates APIView cross-language mapping metadata for the release.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/api.metadata.yml Adds generation metadata (parser/python version, hash).
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/_metadata.json Adds new generator metadata including apiVersion and spec commit.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/_meta.json Removes old generator metadata file.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/README.md Updates minimum supported Python version and refreshes authentication wording/link.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/MANIFEST.in Updates packaged files list to match new metadata/layout.
sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/CHANGELOG.md Adds a placeholder entry for 1.1.0b1.
Comments suppressed due to low confidence (2)

sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/pyproject.toml:1

  • project.license is not valid as a plain string under PEP 621; build backends typically expect license = { text = "MIT" } or license = { file = "LICENSE" }. Update this field to a PEP 621-compliant form so packaging/build doesn’t fail.
    sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/generated_samples/update_pool.py:1
  • agent_profile, fabric_profile, and organization_profile are referenced but never defined in the sample, so it will raise NameError when run. Replace these with valid inline placeholders (e.g., "agent_profile" style strings) or define the variables above main() to make the sample executable.

Comment thread sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/CHANGELOG.md Outdated
@github-actions

Copy link
Copy Markdown
Contributor
[Pilot] PR Pipeline Failure Analysis

A CI pipeline failed on this pull request. Here is an automated analysis of what went wrong and how to get the build green.

What failed

The VerifyChangelog validation step failed for azure-mgmt-devopsinfrastructure. The changelog entry for version 1.1.0b1 (dated 2026-07-23) contains only the placeholder text "tool can't generate changelog for this release, please update manually." — it does not include any of the required sections (Features Added, Breaking Changes, Bugs Fixed, or Other Changes).

Build: https://dev.azure.com/azure-sdk/public/_build/results?buildId=6605189

Recommended next steps

  • Open sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/CHANGELOG.md and replace the placeholder text under ## 1.1.0b1 (2026-07-23) with at least one of the required sections (e.g., ### Features Added, ### Breaking Changes, ### Bugs Fixed, or ### Other Changes) describing the actual changes in this release.
  • See the changelog guidelines: https://aka.ms/azsdk/guideline/changelogs
  • See the CI troubleshooting guide: https://aka.ms/ci-fix
  • Push the updated changelog to re-trigger the pipeline.
Raw pipeline analysis (azsdk ci analyze)
Analyzing pipeline https://github.com/Azure/azure-sdk-for-python/pull/48224...
--------------------------------------------------------------------------------
Failed Tasks
--------------------------------------------------------------------------------
### Errors:
--> /tmp/log-analysis-f612c586178a4b76922aa726961515fa.txt:110
2026-07-23T01:34:45.0438345Z ==============================================================================
2026-07-23T01:34:45.0438626Z Task         : PowerShell
...
2026-07-23T01:34:46.0562306Z Verifying changelog for azure-mgmt-devopsinfrastructure
2026-07-23T01:34:46.1106020Z Found the following change log entry for version '1.1.0b1' in [sdk/devopsinfrastructure/azure-mgmt-devopsinfrastructure/CHANGELOG.md].
2026-07-23T01:34:46.1126560Z ## 1.1.0b1 (2026-07-23)
2026-07-23T01:34:46.1127289Z tool can't generate changelog for this release, please update manually.
2026-07-23T01:34:46.1224687Z ##[error]The changelog entry did not contain any of the recommended sections (Features Added, Breaking Changes, Bugs Fixed, Other Changes), please add at least one. See https://aka.ms/azsdk/guideline/changelogs for more info.
2026-07-23T01:34:46.2264618Z ##[error]PowerShell exited with code '1'.

### Pipeline: https://dev.azure.com/azure-sdk/public/_build/results?buildId=6605189

Copilot detected the failing pipeline and generated the analysis above. To have it attempt a fix automatically, reply with @copilot please fix the failing pipeline on this PR.

Generated by Pipeline Analysis - Next Steps · 18.8 AIC · ⌖ 6.17 AIC · ⊞ 6.6K ·

@ChenxiJiang333

Copy link
Copy Markdown
Member

Hi, the new api version 2026-07-03-preview seems not deployed on portal yet, we recommend making sure the api version to be deployed before releasing the SDK, though we won't block the release in self-serve release flow.

Copilot AI review requested due to automatic review settings July 23, 2026 03:36
@ChenxiJiang333

Copy link
Copy Markdown
Member

Hi, we have approved the PR and we will hold the PR merge and release until you explicitly ping us to merge then release.

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.

Pull request overview

Copilot reviewed 54 out of 54 changed files in this pull request and generated no new comments.

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants