-
Notifications
You must be signed in to change notification settings - Fork 94
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] import fails with latest antlr4-python3-runtime #318
Comments
@ayushdg thanks for reporting. The incompatibility between antlr 4.10 and 4.9 is unexpected. It will take some effort to make it work. So I just made a quick fix: adding the version cap for |
And DuckDB also just got a breaking change released today at 0.3.3.... what a day... |
@ayushdg I have released Fugue 0.6.6, it should have solved this issue |
Thanks @goodwanghan, appreciate the quick fix. Can confirm that the 0.6.6 release does fix this 😄 . Just adding a quick note about conda though it's not directly related to fugue: People getting fugue from conda will still see issues in imports since the conda solver picks up the newer |
Minimal Code To Reproduce
Error message:
Error Trace
Describe the bug
On creating a new environment either via pip
pip install fugue[sql]
or condaconda install -c conda-forge fugue
, importingfugue_sql
fails with errors pointing toantlr4
. Caught by upstream CI in dask-sql: dask-contrib/dask-sql#455.There was a new
4.10
antlr4
(&antlr4-python-runtime
) release recently which now gets picked up by the solvers that seems to be the cause of incompatibility, confirmed that things work with the older4.9.3
.Expected behavior
Working import either via pinning to an older version of antlr or updating to be compatible with the latest version.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: