You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this issue should have been created in a different repository. Please let me know if I should create this ticket elsewhere.
In this PR, the minimum version of azure-core was updated to include the new SupportTokenInfo protocol and AccessTokenInfo class. However, when attempting to install the Azure ML extension using:
az extension add --name ml
the following error occurs:
cannot import name 'AccessTokenInfo' from 'azure.core.credentials'
As this issue is currently disrupting our CI pipelines, we would be grateful for any guidance you can provide to help us address it promptly.
Possible Cause
This issue seems to arise because the Azure ML extension installs azure_identity-1.18.0, which relies on AccessTokenInfo from azure.core.credentials. However, azure-cli version 2.64.0 still uses an older version of azure-core (1.28.0), and hence the error above is thrown.
Describe the bug
Note
Apologies if this issue should have been created in a different repository. Please let me know if I should create this ticket elsewhere.
In this PR, the minimum version of azure-core was updated to include the new
SupportTokenInfoprotocol andAccessTokenInfoclass. However, when attempting to install the Azure ML extension using:the following error occurs:
As this issue is currently disrupting our CI pipelines, we would be grateful for any guidance you can provide to help us address it promptly.
Possible Cause
This issue seems to arise because the Azure ML extension installs
azure_identity-1.18.0, which relies onAccessTokenInfofromazure.core.credentials. However,azure-cliversion2.64.0still uses an older version of azure-core (1.28.0), and hence the error above is thrown.For reference, here’s the azure-cli requirements file.
To Reproduce
Steps to reproduce the behavior:
az extension add --name ml