-
Notifications
You must be signed in to change notification settings - Fork 5
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] Error: Too few parameters for <class 'triad.utils.pandas_like.PandasLikeUtils'> when trying to import fugue #124
Comments
Your fugue and triad versions look mismatched (and the Fugue version is a bit old). Could you upgrade the Fugue package? |
Unfortunately, at the moment, I cannot upgrade fugue because I have another package installed which requires antlr[4]-python[3]-runtime to be 4.9.3. I have noticed that I don't have this issue with triad 0.8.9 and the same fugue and qpd versions, so I suppose I'll downgrade triad for now, but you might want to add some additional checks to prevent this. |
Ah I understand. I am just curious, what is the other library that has an ANTLR dependency? We added checks around the fugue 0.8.x. But unfortunately, we can't really go back to fugue 0.6.x and add checks for triad as that's already published. It's also fugue that imports triad so we can't add it on the triad side. Will wait for @goodwanghan , but I am not sure there's more we can do other than advise you to pin triad to a lower version, which it seems like you did already. |
I understand that you can't add checks to a package that is already published. The other library that currently has a dependency on ANTLR is omegaconf. I and a few others have reported the issue of using an older version of ANTLR. They appear to be in the process of upgrading the version they are using and also vendoring it so as to eliminate any dependency on the version of the library installed elsewhere. I'm currently using Windows, but I think it is even more of a problem on Linux. |
@DManowitz if you don't really need the Fugue SQL part, actually we will release Fugue 0.9.0 within two weeks, and it will remove the hard dependency on antlr. |
@goodwanghan, I'll consider that |
@DManowitz actually Fugue 0.9.0.dev3 is already available, you can give a try. |
Fugue 0.9.0 is released, this problem is resolved |
Minimal Code To Reproduce
Describe the bug
Above code results in the following exception:
Expected behavior
No exception
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: