-
Notifications
You must be signed in to change notification settings - Fork 203
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
Constants for osdependecies. #3309
Conversation
- The osdependencies relating to ibverbs and openssl are repeated ad nauseam in the code. Occasionally with minor mistakes added in. - ibverbs / infiniband and openssl are the most frequent package lists used, but their use is inconsistent as packages change name over time. - When packages change names, old easyconfigs will stop working unless the dependency statement is updated. - Moving these lists into constants allows for the lists to be updated in one place and at one time.
- OS_PACKAGES is more readable than OS_PKGS.
Usage: |
@boegel :-(
Does this mean that constants can't be lists? If so, either the test needs to be changed, or I'll have to wrap the list in a dict and then unpack at a later stage, but that just seems like circumventing the intent of the test. |
@terjekv Using a |
- pep8 and pycodestyle both missed the line length locally.
- Fun note with pycodestyle? It helps to read the correct config file.
Blargh. I fail at terminology. Sorry about that. I ment tuple. I have updated the test code. Let's see if that helps. |
- Constants are now split into dev, bin, and lib sets. - Names are slightly simplified.
- Python doesn't like it. - Also updated inline comments with regards to acceptable types for the values of constants.
- Based on @boegel's phrasing request, from lessons related to the lack of tests not being fully isolated from the environment. See the following issue for more information: easybuilders#3231 - Also added back the stringification of the types, including the tuple, by wrapping the output in str().
Thanks a lot @terjekv! |
ad nauseam in the code. Occasionally with minor mistakes added
in.
package lists used, but their use is inconsistent as
packages change name over time.
unless the dependency statement is updated.
updated in one place and at one time.