azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

azure-ai-ml SDK and CLI installation broken

Open kingernupur opened this issue 1 year ago • 7 comments

  • Package Name: azure-ai-ml

Describe the bug All fresh installs and updates for AML SDK v2 and CLI v2 wheels are currently encountering the following error:

ImportError: cannot import name 'FieldInstanceResolutionError' from 'marshmallow.utils'

It is advisable to avoid fresh installs if possible, as existing installations should remain functional. If fresh installs or updates are necessary, please temporarily pin marshmallow to a version below 4. We are actively working on a hotfix to resolve this issue as soon as possible.

kingernupur avatar Apr 17 '25 11:04 kingernupur

azure-ai-ml sdk new version released that is 1.26.3

jayesh-tanna avatar Apr 17 '25 16:04 jayesh-tanna

The issue seems to be still remaining in Azure Machine Learning CLI 2.36.3 (ml extension). I assume the extension requires a new version that includes the latest changes for the marshmallow dependency.

chrfla-cognite avatar Apr 17 '25 17:04 chrfla-cognite

Confirmed, the issue still resides while using Azure Machine Learning CLI latest version available (2.63.3). Is a new version for this extension released to address this issue? Thank you in advance.

FabioMoroni-MSFT avatar Apr 17 '25 18:04 FabioMoroni-MSFT

CLI hotfix also released. Please use the latest version 2.36.4.

kingernupur avatar Apr 18 '25 01:04 kingernupur

Hi @kingernupur. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

github-actions[bot] avatar Apr 18 '25 01:04 github-actions[bot]

As a hotfix it locks marshmallow however the remaining libraries in https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ml/azure-ai-ml/setup.py are still very open and can can cause a failure at any time if they introduce a breaking change - See https://github.com/Azure/azure-sdk-for-python/issues/40571

almmechanics avatar Apr 18 '25 07:04 almmechanics

Hi @kingernupur, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.

github-actions[bot] avatar Apr 25 '25 16:04 github-actions[bot]