Azure-cli: No updates available for 'azure-cli-ml' - extension not available

Created on 28 May 2020  路  9Comments  路  Source: Azure/azure-cli

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

Until yesterday azure-cli-ml extension was available to be installed through command az extension install -n azure-cli-ml

To Reproduce

type: "az extension install -n azure-cli-ml" or "az extension update -n azure-cli-ml"

This error message appear:

No updates available for 'azure-cli-ml'. Use --debug for more information.

Expected behavior

Azure CLI ML extension should be installed successfully

Environment summary

Any platform with Azure CLI

Additional context

There's additional information log:

urllib3.connectionpool : Starting new HTTPS connection (1): aka.ms:443
urllib3.connectionpool : https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 0
urllib3.connectionpool : Starting new HTTPS connection (1): azurecliextensionsync.blob.core.windows.net:443
urllib3.connectionpool : https://azurecliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 309315
Candidates ['azure_cli_ml-1.6.0-py3-none-any.whl']
Skipping 'azure_cli_ml-1.6.0-py3-none-any.whl' as not universal wheel.We do not currently support platform specific extension detection. They can be installed with the full URL https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.6.0-py3-none-any.whl
Candidates []
Candidates []
No suitable extensions found.
cli.azure.cli.core.util : No updates available for 'azure-cli-ml'. Use --debug for more information.
No updates available for 'azure-cli-ml'. Use --debug for more information.

ML-MLOps Machine Learning Service Attention question

Most helpful comment

We have bumped our minCliCoreVersion to 2.3.1 to resolve compatibility issues, and users will need to upgrade az CLI to get our latest extension. Unfortunately, it looks like the error message doesn't mention that.

If you want to use our older versions that are compatible with older az CLI versions, you can install the whl directly. i.e. az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.5.0-py2.py3-none-any.whl

All 9 comments

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.

ml

In this azure-cli-extensions index.json Line 1475.
azure-cli-ml requires azure-cli min version should be 2.3.1. You may need update your azure-cli from 2.0.62 to 2.3.1.

 "azure-cli-ml": [
            {
                "downloadUrl": "https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.6.0-py3-none-any.whl",
                "filename": "azure_cli_ml-1.6.0-py3-none-any.whl",
                "metadata": {
                    "azext.minCliCoreVersion": "2.3.1",

Thanks, I have found that this requirement changed yesterday. Changed the minimun Az CLI required version from 2.0.28 to 2.3.1 . . . . (that's a huge version jump....)

We have bumped our minCliCoreVersion to 2.3.1 to resolve compatibility issues, and users will need to upgrade az CLI to get our latest extension. Unfortunately, it looks like the error message doesn't mention that.

If you want to use our older versions that are compatible with older az CLI versions, you can install the whl directly. i.e. az extension add --source https://azurecliext.blob.core.windows.net/release/azure_cli_ml-1.5.0-py2.py3-none-any.whl

thanks a lot for the workaround @j-so 馃槃

We are now working on providing version 1.5.0 for users with az CLI <2.3.1 automatically with the az extension add command. I鈥檒l update again once that is available.

We have published the change. If you have az CLI version < 2.3.1, you should get az ml extension version 1.5.0 when using az extension add -n azure-cli-ml.

For updates, you will need to upgrade your az CLI version.

Thanks for the feedback!

@j-so thanks a lot! it's working again :)

Was this page helpful?
0 / 5 - 0 ratings