az feedback auto-generates most of the information requested below, as of CLI version 2.0.62
Related command
Describe the bug
We are noticing compatibility issues between azure-core and azure-cli: cannot import name 'case_insensitive_dict' from 'azure.core.utils'.
Until cli 2.37.0, AZ CLI had the dependency azure-core==1.21.1
Starting 2.38.0, AZ CLI is having dependency azure-core==1.24.0
In case, we install a package that has a direct or indirect dependency on the lower azure-core==1.21.1, the AZ CLI encounters the compatibility issues between azure-core and azure-cli and emits the error: cannot import name 'case_insensitive_dict' from 'azure.core.utils'
To Reproduce
Two ways of reproducing the issue:
- Install latest az cli
- Install any package that depends on lower older version of azure-core

or
- Install az cli (2.37.0 or lower)
- Install cli ML extension 2.5.0. (ML Extension brings in the latest azure-storage-blob package that depends on latest azure-core=1.24.0).
az extension add --name ml --version 2.5.0
Expected behavior
CLI should not fail.
Related command
Describe the bug
We are noticing compatibility issues between azure-core and azure-cli: cannot import name 'case_insensitive_dict' from 'azure.core.utils'.
Until cli 2.37.0, AZ CLI had the dependency azure-core==1.21.1
Starting 2.38.0, AZ CLI is having dependency azure-core==1.24.0
In case, we install a package that has a direct or indirect dependency on the lower azure-core==1.21.1, the AZ CLI encounters the compatibility issues between azure-core and azure-cli and emits the error: cannot import name 'case_insensitive_dict' from 'azure.core.utils'
To Reproduce
Two ways of reproducing the issue:
or
az extension add --name ml --version 2.5.0
Expected behavior
CLI should not fail.