-
Notifications
You must be signed in to change notification settings - Fork 913
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
[BUG] ImportError: cannot import name '_T' from 'marshmallow.fields' with marshmallow==3.24.0 #3902
Comments
Yep, we've been investigating this. Marshamllow 3.24 released 3 hours ago and appears to have included some breaking changes that affected PF. |
Update: Unfortunately, it seems that not only is PF impacted by this, but so are at least one of its dependencies, which means multiple releases across systems will be needed to clear this up. |
It seems that some of our az cli command got affected as well in azure devops pipeline. I cannot be 100% sure but the timeline matches (no code changes) |
This also impact the AI Foundry Evaluation SDK as well please |
I also had the same issue. I manually set |
Worked for me aswell - thanks! |
Same problem but in an Azure DevOps pipeline. Fixed by running |
This topic is related to a comment mentioned in another repository: Azure/azure-cli-extensions #8400 |
Hotfix has been released : Azure/azure-sdk-for-python#39039 @duongthaiha : i created an issue to alert on this. Feel free to join in. |
Any news? This impacts the VSCode extension as well. |
I had this issue affecting my devOps pipeline(azurecli@v2 github action usage). I had to manually install the azure-cli and pip install marshmallow==3.23.2 to get my pipeline to work. Otherwise, I would need to wait for the azurecli@v2 authors to fix the issue. |
FYI, this is affecting the azure-ai-evaluation package as well. |
Describe the bug
A clear and concise description of the bug.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:
1
promptflow/src/promptflow-devkit/promptflow/_sdk/schemas/_fields.py
Line 10 in 407970e
Run
from marshmallow.fields import _T, Field, Nested
will cause this issue when marshmallow==3.24.0, but the issue does not occur with marshmallow==3.23.2
The text was updated successfully, but these errors were encountered: