Skip to content

{ACR} Reconcile tasks SDK split: update to azure-mgmt-containerregistrytasks 1.0.0b1 and azure-mgmt-containerregistry 15.1.0b1 with API version 2026-01-01-preview#33017

Merged
yanzhudd merged 59 commits intoAzure:devfrom
CodeJourneys:acr-module-reconcile-tasks-split-feb2026
Mar 26, 2026
Merged

Conversation

@CodeJourneys
Copy link
Copy Markdown
Contributor

Related command
az acr (task, run, build, pack, agentpool, token, network-rule, connected-registry, credential-set, cache, scope-map)

Description
The Azure Container Registry management API has been converted to Typespec. As a part of this, the namespace was split to align with Uniform Versioning guidelines. Task-related models and operations are now in the new azure-mgmt-containerregistrytasks package, separate from azure-mgmt-containerregistry.

This PR reconciles the ACR CLI module with the Typespec conversion and namespace split:

  • Adds azure-mgmt-containerregistrytasks==1.0.0b1 as a new dependency
  • Bumps azure-mgmt-containerregistry to 15.1.0b1
  • Updates ACR service API version to 2026-01-01-preview across all affected operations (cache, credential sets, scope maps, tokens, token credentials, connected registries)
  • Refactors network rules usage for backwards compatibility (will be reconciled in next ACR management API release)
  • Refactors task.py and polling helpers (_agentpool_polling.py, _run_polling.py) to import models from azure.mgmt.containerregistrytasks instead of azure.mgmt.containerregistry
  • Simplifies _client_factory.py by removing hardcoded API version overrides now that the split SDK supplies its own versioning
  • Removes the deprecated AD_HOC_API_VERSIONS entry for the old ACR network rules API and retains only 2026-01-01-preview
  • Updates all test recordings (cassettes) to reflect the new API version
  • Updates requirements files (Linux, Darwin, Windows) accordingly

No user-visible command behavior changes.

Testing Guide
All existing ACR tests pass against the updated recordings.


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

…ded azure-mgmt-containerregistrytasks 1.0.0b1
…t models directly from azure.mgmt.containerregistrytasks
…arameter and update provisioning state import
… credential sets, scope maps, tokens, and token credentials functions
@CodeJourneys
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 33017 in repo Azure/azure-cli

@yanzhudd
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Copy Markdown
Member

@northtyphoon northtyphoon left a comment

Choose a reason for hiding this comment

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

LGTM

@yanzhudd
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@yanzhudd
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@yanzhudd
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

@yanzhudd
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

Copy link
Copy Markdown
Member

@isra-fel isra-fel left a comment

Choose a reason for hiding this comment

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

LGTM

@yanzhudd yanzhudd merged commit 7cc90a5 into Azure:dev Mar 26, 2026
49 checks passed
@CodeJourneys CodeJourneys deleted the acr-module-reconcile-tasks-split-feb2026 branch March 26, 2026 16:05
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.

8 participants