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

ANTLR version troubles #91

Open
felix-sil3x opened this issue Sep 4, 2024 · 0 comments
Open

ANTLR version troubles #91

felix-sil3x opened this issue Sep 4, 2024 · 0 comments

Comments

@felix-sil3x
Copy link

The ANTLR version (antlr4-python3-runtime-4.13.1) seems to lead to the following message when using modelica-builder routines:

ANTLR runtime and generated code versions disagree: 4.13.1!=4.11.2-SNAPSHOT

Even if it should be a warning message (antlr/antlr4#4655), it blocks the running of routines.

In order to make the routines works, I have :

  • uninstall the predefined version 4.13.1
  • change the required version (Requires-Dist: antlr4-python3-runtime (==4.13.1) to Requires-Dist: antlr4-python3-runtime (==4.13.2) within the METADATA file (modelica_builder-0.5.1.dist-info/METADATA)
  • uninstall the predefined version 4.13.2

I have done that way as i'm not able to compile modelica-builder without pip. But, it think that it should be simpler for you to change the version required within the Docker file (antlr/Dockerfile)

PS: Thank for having developed this tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant