-
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
[COMPATIBILITY] antlr4-python3-runtime 4.9.3 is no longer supported but spark is stuck with it #509
Comments
Got it, yes we can take a look. We also plan to remove antlr from our core dependency starting from Fugue 0.9.0, but that will take a while. |
Actually I don't know why it matters. Fugue has very good support of pyspark, we have never seen such a conflict. |
It matters only when people use antlr on python side and want to match spark's version. Spark's dependency is on java side, hence no conflicts so far :) I understand this is rather a corner case, so it's completely understandable if you decide not to give this a priority. |
Closing because this problem should have been resolved. |
It's actually not. Sorry for late reply, our internal pip mirror takes at least two weeks to update the packages and I switched to a different project in meanwhile. Now I am back to updating statsforecast and it still does not work. The antlr dependency of I might be doing something wrong though:
|
I am really confused, while
|
Arh, ... it's still in the requirements.txt |
Ah I see, but requirements is not a part of the pypi package, the requirement should have nothing to do with it. But let me investigate. This is very weird. |
@vspinu I have found the issue and here is the PR to fix this problem. fugue-project/fugue-sql-antlr#22 Sorry it took a bit long. 0.1.8 should be ready tomorrow |
@goodwanghan It seems that this issue is still blocked by the |
@goodwanghan do you have a planned date for the 0.9.0 release? The hard dependency of |
@shchur I apologize for the delay. Could you try fugue 0.9.0.dev3? I think we will release 0.9.0 soon, but if you could try the latest release, it can be helpful for accelerating the release. |
Hi @goodwanghan, thank you for the response! I just checked, pinning the dependency to |
@shchur we will release Fugue 0.9.0 in two weeks. Thanks for the confirmation. |
Spark has this comment in its pom.xml:
Inside our company we use antlr4-python3-runtime to implement some parts of spark sql parsing. We pin the version to the version used in spark for compatibility reasons. This renders fugue and downstream packages that started including fugue as core dependency (e.g. statsforecast) incompatible with our code base.
Also #327 required that
We also want to make sure 4.9.* are still supported.
which didn't realize as 4.11 is now the minimal requirement.Would it be too difficult on your side to keep antlr4 minimum version the one which is used in spark? Thanks!
The text was updated successfully, but these errors were encountered: