-
Notifications
You must be signed in to change notification settings - Fork 194
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
Compatibility Issue with pydantic and annotated-types in pyiceberg 0.8.1 #1418
Comments
got this error too
|
@djouallah do you know which version of Pydantic you're using? You can easily check it using:
|
sorry, my notebook did not properly restarted, everything is fine |
can anyone help with original issue that was reported regarding "Apache Iceberg version" |
Hi @pawansanz, I've also encountered this issue before. In my case, it was due to the different library versions on my laptop. Could you try recreating the python virtual environment and see if the issue persists? |
Apache Iceberg version
0.8.1 (latest release)
Please describe the bug 🐞
I am encountering an error when using pyiceberg 0.8.1 with pydantic 2.10.3 and annotated-types 0.7.0 in a Python virtual environment. The error message is:
File "\site-packages\pydantic\types.py", line 898, in conlist
return Annotated[List[item_type], annotated_types.Len(min_length or 0, max_length)]
TypeError: Len() takes no arguments
Environment:
OS: Windows 10
Python Version: 3.10
pyiceberg Version: 0.8.1
pydantic Version: 2.10.3
annotated-types Version: 0.7.0
Additional Notes:
Willingness to contribute
The text was updated successfully, but these errors were encountered: