Updates for CLI release + Fix DeploymentTemplateScenario/ModelScenario tests#9883
Conversation
- 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)
️✔️Azure CLI Extensions Breaking Change Test
|
|
Hi @PratibhaShrivastav18, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
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-mlfrom 1.32.0 to 1.33.0 and extension version to 2.43.0 (with changelog date update). - Add a new
RegistryDiscoveryQueryStripperreplay processor and updateRegistryDiscoveryReplacer.process_requestto stripapi-version(and other) query parameters from registry discovery URLs so VCR can match cassettes recorded with older SDKs. - Convert
allowed_instance_typesindeployment_template_basic.yamlto 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. |
|
1 similar comment
|
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ machinelearningservices-2.43.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=164898435&view=results |
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)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.jsonautomatically.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.