{Core} Remove temporary compatible logic in build script#31555
{Core} Remove temporary compatible logic in build script#31555zhoxing-ms merged 1 commit intoAzure:devfrom
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @zhoxing-ms, |
️✔️AzureCLI-BreakingChangeTest
|
|
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 removes legacy compatibility logic in the build pipeline and updates the Azure Container Registry management SDK version.
- Bumps
azure-mgmt-containerregistryfrom14.0.0to14.1.0b1insetup.pyand all platform-specific requirement files - Simplifies
find_models_to_changeby no longer excluding the_utilspackage
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/azure-cli/setup.py | Updated azure-mgmt-containerregistry version |
| src/azure-cli/requirements.py3.windows.txt | Updated azure-mgmt-containerregistry version |
| src/azure-cli/requirements.py3.Linux.txt | Updated azure-mgmt-containerregistry version |
| src/azure-cli/requirements.py3.Darwin.txt | Updated azure-mgmt-containerregistry version |
| build_scripts/windows/scripts/patch_models_v2.py | Removed _utils exclusion in model discovery logic |
Comments suppressed due to low confidence (1)
build_scripts/windows/scripts/patch_models_v2.py:248
- By removing the exclusion for '_utils', the utils package will now be processed as a model module even though it may not define models, potentially causing runtime errors. Consider reintroducing an explicit filter for non-model packages or adding tests and documentation to clarify this change.
if ispkg and label != 'aio'
|
@jiasli Could you please help review this PR? |
Related command
Description
Replace PR: #31477
Remove the temporary compatibility logic made for SDK issues
Context: https://github.com/Azure/azure-cli/pull/31382/files#r2086267859
SDK issue: Azure/azure-sdk-for-python#41083
Testing Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.