{Packaging} Add azure-core dependency to azure-cli-core#31918
{Packaging} Add azure-core dependency to azure-cli-core#31918
azure-core dependency to azure-cli-core#31918Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
There was a problem hiding this comment.
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.