-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{CI} Fix Codegen Coverage task #32304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @bebound, |
️✔️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.
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 fixes a CI failure in the Codegen Coverage task caused by an incompatibility between deepdiff 6.3.3 (pinned by the confcom extension) and numpy 2.0. The fix temporarily force-installs deepdiff 8.6.1 after extension setup to ensure compatibility with numpy 2.0.
Key Changes:
- Added a pip install command to force deepdiff 8.6.1 installation after azdev setup completes
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Is there an issue created for |
I've told @DomAyre to bump deepdiff in confcom Issue: Azure/azure-cli-extensions#9323 RP to bump deepdiff in confcom: Azure/azure-cli-extensions#9318 |
|
Close as Azure/azure-cli-extensions#9318 is merged |
Description
azdev has update the deepdiff dependency to 8.6.1 at Azure/azure-cli-dev-tools#531
The Codegen Coverage fails with:
The installed deepdiff is 6.3.3 and is not compatible with numpy 2.0. By checking the index.json in extension, confcom depends on deepdiff 6.3.3: https://github.com/Azure/azure-cli-extensions/blob/de110edc4faa6464bfa82fe8dc64f46c34ad1d77/src/confcom/setup.py#L43
Force install deepdiff 8.6.1 to fix the CI.
This PR can be reverted once
confcomupdates its dependency to the latest deepdiff.Ref: https://dev.azure.com/azclitools/public/_build/results?buildId=277501&view=logs&jobId=9345cfb0-d7b9-509c-bf97-03248f55543a&j=9345cfb0-d7b9-509c-bf97-03248f55543a&t=e1a1fdd4-b888-5743-66dc-7bbee1ce278e