-
Notifications
You must be signed in to change notification settings - Fork 700
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
module 'pydantic.fields' has no attribute 'ModelField' in awswrangler[modin,ray]==3.2.1 #2379
Comments
Thanks for raising this @kangks, it seems that there is a major issue opened a couple of days ago in Ray about this: The current workaround is to force a lower version of Pydantic as it's currently conflicting with Ray:
After downgrading pydantic I was able to run your code snippet without issues |
I can confirm the same, using |
Did also do that, restricting my poetry package manager accordingly. |
confirm that |
downgrading to an older pydantic solved my issue, thank you! here was the one-line snippet in case anyone else ends up here: |
Describe the bug
When trying to invote
wr.engine.initialize()
with "awswrangler[modin,ray]==3.2.1", following error reportedThe
requirements.txt
fromawswrangler[modin,ray]==3.2.1
as below:How to Reproduce
Good baseline of modin+ray without pydantic errors
ray_init.py
Error with awswrangler
"awswrangler[modin,ray]==3.2.1"
Expected behavior
No error or as per the output before installation of AWSWrangler
OS
python3.10 base image on aarch64
Python version
3.10
AWS SDK for pandas version
N/A
The text was updated successfully, but these errors were encountered: