Skip to content
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

Can we make antlr4-python3-runtime==4.7.2 dependency optional? #313

Open
ocefpaf opened this issue Nov 1, 2022 · 10 comments · May be fixed by #423
Open

Can we make antlr4-python3-runtime==4.7.2 dependency optional? #313

ocefpaf opened this issue Nov 1, 2022 · 10 comments · May be fixed by #423
Assignees

Comments

@ocefpaf
Copy link
Member

ocefpaf commented Nov 1, 2022

It is getting quite hard to package cf_units with such an old dependency. My guess is that this could be make optional if a user doesn't want the latex representation of the units, right?

Another alternative would be to update that dependency but I'm not sure how hard that would be. I tried a naive update and got some quite odd and cryptic errors.

@ocefpaf ocefpaf added the New: Issue Highlight a new community raised "generic" issue label Nov 1, 2022
@thebaptiste
Copy link

Any news on this issue ?

@bjlittle
Copy link
Member

bjlittle commented May 25, 2023

Hey @thebaptiste,

Thanks for the nudge. It's great to know that you're keen for this to happen. I am too.

I'm keen to investigate and move this along, as this dependency pin is a ticking time 💣.

It's certainly not fallen off my radar, but to be honest ATM I'm totally maxed-out on other project work. But I'll try to prioritize and get to it ASAP 👍

@bjlittle bjlittle added Type: Tech Debt and removed New: Issue Highlight a new community raised "generic" issue labels May 25, 2023
@DManowitz
Copy link

DManowitz commented Jun 22, 2023

Or would it at least be possible to update to newer antlr dependency? Looking on conda-forge, many newer packages seem to want antlr4-python3-runtime 4.11.1. On a slightly separate note, if you are going to make a build without antlr as a dependency or with a newer antlr runtime, could you also make it available for py38 for at least 1 version?

@rcomer
Copy link
Member

rcomer commented Jun 27, 2023

I had a go at updating the version in #368. It seems to work but I have not understood much...

@trexfeathers
Copy link
Collaborator

FYI #368 has now been merged

@thebaptiste
Copy link

thebaptiste commented Sep 13, 2023

So we hope for a new release on pypi soon !
These developers are never happy and always want everything right away... Sorry !

@trexfeathers
Copy link
Collaborator

So we hope for a new release on pypi soon ! These developers, are never happy and always want everything right away... Sorry !

To re-assure you: this is on the radar soon.

@pp-mo
Copy link
Member

pp-mo commented Nov 15, 2023

@SciTools/peloton it seems that #368 has resolved this problem, but only "for now".
That will presumably be OK for the next release.
But in the nature of how antlr works, we think we will always have to pin the version.

@ocefpaf does this satisfy, or would you argue for removing this altogether ?

@monego
Copy link

monego commented Dec 2, 2023

@SciTools/peloton it seems that #368 has resolved this problem, but only "for now". That will presumably be OK for the next release. But in the nature of how antlr works, we think we will always have to pin the version.

@ocefpaf does this satisfy, or would you argue for removing this altogether ?

Pinning would be an issue for Linux packages as most distributions install them in a global space (/usr) and cannot have multiple versions of the same package installed simultaneously. So they ship a single version and may patch upstream as needed.

@ocefpaf
Copy link
Member Author

ocefpaf commented Apr 23, 2024

@ocefpaf does this satisfy, or would you argue for removing this altogether ?

Definitely not removing it but I wonder if we can make it optional. I'm not sure if that is possible. I'll give it a go...

@ocefpaf ocefpaf linked a pull request Apr 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

8 participants