Skip to content

updated setup.py and changelog.rst for cli v2 release- - #10311

Open
Chakradhar886 wants to merge 12 commits into
Azure:mainfrom
Chakradhar886:main
Open

updated setup.py and changelog.rst for cli v2 release-#10311
Chakradhar886 wants to merge 12 commits into
Azure:mainfrom
Chakradhar886:main

Conversation

@Chakradhar886

@Chakradhar886 Chakradhar886 commented Sep 8, 2026

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Breaking Changes
️✔️ None

Description

This PR upgrades the Machine Learning CLI extension dependency from azure-ai-ml 1.34.0 to 1.35.0 and adds the compatibility changes required by the new SDK version.

SDK 1.35 removed the versioned private REST clients previously used by the extension. The implementation has been migrated to the consolidated arm_ml_service REST client and the new management client.

The PR also addresses compatibility regressions exposed by the upgrade:

  • Migrates removed versioned REST-client imports to arm_ml_service.
  • Updates the management client factory.
  • Uses the new schedule list-view enum.
  • Passes list-view enum wire values such as ActiveOnly to ensure consistent serialization across ARM and registry dataplane clients.
  • Preserves expected CLI output for enum values, batch endpoints, and compute nodes.
  • Registers local pipeline components before serialization and uses their ARM resource IDs.
  • Updates registry archive and restore recordings for the new polling behavior.
  • Aligns registry pagination recordings with the current $skipToken=XXXXX sanitizer.

Validation

  • Full extension test suite: 95 passed, 119 skipped
  • Integration tests passed on Python 3.10–3.14
  • Linter and style checks passed
  • Security, policy, and breaking-change checks passed
  • Final CI result: 23 successful checks, 0 failures

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 azdev 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.

Copilot AI lite review requested due to automatic review settings September 8, 2026 05:20
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi Chakradhar886,
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 pyproject.toml (or setup.py, if the extension has not migrated yet) as well.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
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

The newly added CHANGELOG release date is in the future and should be updated to the actual release date to keep release history accurate.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates the machinelearningservices extension metadata for the next Azure Machine Learning CLI (v2) release by bumping the extension version and aligning a key SDK dependency, with corresponding release-note scaffolding.

Changes:

  • Bumped extension version to 2.45.0 in setup.py.
  • Added a new top-of-file release entry for 2.45.0 in CHANGELOG.rst.
  • Updated azure-ai-ml dependency pin to 1.35.0 in manual requirements.
File summaries
File Description
src/machinelearningservices/setup.py Version bump to 2.45.0 for the extension package.
src/machinelearningservices/CHANGELOG.rst Adds a new release header for 2.45.0 (date needs correction).
src/machinelearningservices/azext_mlv2/manual/requirements.txt Updates pinned azure-ai-ml dependency to 1.35.0.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants