-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Packaging} Add azure-core dependency to azure-cli-core
#31918
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
|
️✔️AzureCLI-BreakingChangeTest
|
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 addresses a missing dependency issue where azure-cli-core imports azure.core.serialization.attribute_list without explicitly declaring the required azure-core version dependency. The fix adds azure-core~=1.35.0 to the dependencies list to ensure the required functionality is available when installing via pip.
- Adds explicit
azure-core~=1.35.0dependency toazure-cli-core
|
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>
|
Description
Fix #31915
azure.core.serialization.attribute_listwas added by Azure/azure-sdk-for-python#41571 and released inazure-core1.35.0. #31775 created a dependency onazure.core.serialization.attribute_listbut didn't declare the dependency.#31763 bumped
azure-coreto 1.35.0, but only insrc/azure-cli/requirements.py3.*.txt.If
azure-cliis installed viapip,azure-core< 1.35.0 will cause error:This PR adds
azure-core~=1.35.0dependency toazure-cli-core.