Skip to content

azure-ai-ml SDK and CLI installation broken #40575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kingernupur opened this issue Apr 17, 2025 · 7 comments
Closed

azure-ai-ml SDK and CLI installation broken #40575

kingernupur opened this issue Apr 17, 2025 · 7 comments
Assignees
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. Machine Learning

Comments

@kingernupur
Copy link
Member

  • 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 kingernupur self-assigned this Apr 17, 2025
@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 17, 2025
@kingernupur kingernupur added bug This issue requires a change to an existing behavior in the product in order to be resolved. Machine Learning labels Apr 17, 2025
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Apr 17, 2025
@jayesh-tanna
Copy link
Member

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

@chrfla-cognite
Copy link

chrfla-cognite commented Apr 17, 2025

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.

@FabioMoroni-MSFT
Copy link

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.

@kingernupur
Copy link
Member Author

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

@kingernupur kingernupur added the issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. label Apr 18, 2025
Copy link

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.

@almmechanics
Copy link

almmechanics commented Apr 18, 2025

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 #40571

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. issue-addressed Workflow: The Azure SDK team believes it to be addressed and ready to close. Machine Learning
Projects
None yet
Development

No branches or pull requests

5 participants