-
Notifications
You must be signed in to change notification settings - Fork 62
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
docker: install the same version of pyparsing as on SDCC #264
Conversation
pyparsing 3.x had dropped the python 2 support (cherry picked from commit 816cb54)
How do you see that it is broken? |
You could try rebuilding the container. Here is my attempt with CentOS 7.3, but it should be the same on SL 7.9:
|
First, a little history... The pyparsing package was used to implement the ageParser.py code, which reads in the old AgSTAR geometry files (a.k.a. the ".g" files, kept under pams/geometry). This is the major part of the code which uses pyparsing. If it were the only place, then I think we could safely retire the pyparsing.py code from usage. However, there are minor parts of the syntax (dealing with matching agstar internal variables) which are still present in the AgML parsing framework. So we need to maintain a version of pyparsing in the software stack. However, I don;t think it matters much which version is used. I expect things haven't changed enough to impact the places where it is needed. |
Can your code run under python3? If not, then it matters. |
Also pinning a specific version improves reproducibility. |
This is not urgent, but our dockerfiles seem to be broken right now as they install an incompatible version (3.x) of pyparsing needed for mgr/agmlParser.py