-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
pyiceberg pydantic failed with new typing-extension package #7746
Labels
Comments
Auch, it looks like some downstream dependency is updated.
Can you check if the error persists with |
Fokko
added a commit
to Fokko/iceberg
that referenced
this issue
Jun 1, 2023
In the CI we pin the `typing-extensions` dependency on `4.5.0`, but it looks like some bug has been introduced in `4.6.1`. By loosening this requirement, we install the same version as when someone would when they don't install the dev requirements. Resolves apache#7746
Looks like it is a bug in Pydantic itself: pydantic/pydantic#5826 Bumping to the latest version of Pydantic will fix the issue as well. |
Fokko
added a commit
that referenced
this issue
Jun 1, 2023
In the CI we pin the `typing-extensions` dependency on `4.5.0`, but it looks like some bug has been introduced in `4.6.1`. By loosening this requirement, we install the same version as when someone would when they don't install the dev requirements. Resolves #7746
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apache Iceberg version
1.2.1 (latest release)
Query engine
None
Please describe the bug 🐞
I have typing-extensions 4.6.1, and this version caused pydantic to failed when importing BooleanExpression from pyiceberg. Downgrading to typing-extension 4.5.0 is the workaround
To reproduce:
from pyiceberg.expressions import BooleanExpression
Exception generated:
The text was updated successfully, but these errors were encountered: