Skip to content

Updates for CLI release + Fix DeploymentTemplateScenario/ModelScenario tests#9883

Merged
wangzelin007 merged 1 commit into
Azure:mainfrom
PratibhaShrivastav18:ml-sdk-upgrade-test-fixes
May 20, 2026
Merged

Updates for CLI release + Fix DeploymentTemplateScenario/ModelScenario tests#9883
wangzelin007 merged 1 commit into
Azure:mainfrom
PratibhaShrivastav18:ml-sdk-upgrade-test-fixes

Conversation

@PratibhaShrivastav18
Copy link
Copy Markdown
Member

  • Bump azure-ai-ml from 1.32.0 to 1.33.0 and extension version to 2.43.0
  • Add RegistryDiscoveryQueryStripper replay processor to strip api-version query param from registry discovery URLs during VCR replay matching
  • Update RegistryDiscoveryReplacer.process_request to strip query params during recording for consistency across SDK versions
  • Fix allowed_instance_types in deployment_template_basic.yaml to use YAML list format (required by SDK 1.33.0 schema validation)

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

- Bump azure-ai-ml from 1.32.0 to 1.33.0 and extension version to 2.43.0
- Add RegistryDiscoveryQueryStripper replay processor to strip api-version
  query param from registry discovery URLs during VCR replay matching
- Update RegistryDiscoveryReplacer.process_request to strip query params
  during recording for consistency across SDK versions
- Fix allowed_instance_types in deployment_template_basic.yaml to use
  YAML list format (required by SDK 1.33.0 schema validation)
Copilot AI review requested due to automatic review settings May 19, 2026 12:33
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 19, 2026

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @PratibhaShrivastav18,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 19, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown
Contributor

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Azure ML CLI extension to version 2.43.0, bumping the azure-ai-ml SDK dependency to 1.33.0, and fixes test scenarios that broke due to the SDK upgrade.

Changes:

  • Bump azure-ai-ml from 1.32.0 to 1.33.0 and extension version to 2.43.0 (with changelog date update).
  • Add a new RegistryDiscoveryQueryStripper replay processor and update RegistryDiscoveryReplacer.process_request to strip api-version (and other) query parameters from registry discovery URLs so VCR can match cassettes recorded with older SDKs.
  • Convert allowed_instance_types in deployment_template_basic.yaml to a proper YAML list to satisfy SDK 1.33.0's schema validation.

Reviewed changes

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

Show a summary per file
File Description
src/machinelearningservices/setup.py Bumps extension version to 2.43.0.
src/machinelearningservices/CHANGELOG.rst Replaces Unreleased with release date 2026-05-06.
src/machinelearningservices/azext_mlv2/manual/requirements.txt Bumps azure-ai-ml to 1.33.0.
src/machinelearningservices/azext_mlv2/tests/util.py Strips query params during recording and adds new replay-safe RegistryDiscoveryQueryStripper.
src/machinelearningservices/azext_mlv2/tests/scenario_test_helper.py Registers RegistryDiscoveryQueryStripper as a replay processor.
src/machinelearningservices/azext_mlv2/tests/test_configs/deployment_template/deployment_template_basic.yaml Converts allowed_instance_types to a YAML list to comply with SDK 1.33.0 schema.

@github-actions
Copy link
Copy Markdown
Contributor

Hi @PratibhaShrivastav18

⚠️ Release Requirements

Module: machinelearningservices

  • Please log updates into to src/machinelearningservices/HISTORY.rst
  • ⚠️ Please update VERSION to be 2.42.1 in src/machinelearningservices/setup.py

Notes

1 similar comment
@github-actions
Copy link
Copy Markdown
Contributor

Hi @PratibhaShrivastav18

⚠️ Release Requirements

Module: machinelearningservices

  • Please log updates into to src/machinelearningservices/HISTORY.rst
  • ⚠️ Please update VERSION to be 2.42.1 in src/machinelearningservices/setup.py

Notes

@github-actions github-actions Bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label May 19, 2026
@yonzhan yonzhan requested a review from necusjz May 19, 2026 21:28
@wangzelin007
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@wangzelin007 wangzelin007 added skip-cal-version and removed release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. labels May 19, 2026
@wangzelin007 wangzelin007 merged commit 751e1de into Azure:main May 20, 2026
52 of 60 checks passed
@azclibot
Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ machinelearningservices-2.43.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=164898435&view=results

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants