-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bootstrap #4
Bootstrap #4
Conversation
…mmand line options
…ting add unit tests for --avail-easyconfig-params and --list-easyblocks command line options
… to test cmdline options that require a set of easyblocks
…ting fix broken unit tests
bump version to v1.2.0
Conflicts: easybuild/tools/version.py
# figure out EasyBuild version | ||
# NOTE: we can't rely on importing VERSION, because other EasyBuild installations may be in sys.path | ||
# TODO checking the output is not a garantee for anything (eg imagine the latest eb is already on your system, just not as module) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually, with the sys.path magic below, we are sure we're checking the just installed EasyBuild version
Only, this check needs to be done below the sys.path stuff, and then also doesn't have to rely on os.system
anymore...
@@ -52,7 +52,8 @@ def det_lib_path(): | |||
|
|||
def find_egg_dir_for(path, pkg): | |||
"""Find full path of egg dir for given package.""" | |||
|
|||
# TODO check pkg_resource.require and see if it can replace this function | |||
# TODO pkg_resource.require will also adjust the sys.path properly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because then we loose control over the path where the package is found.
We know where the package that we want to use is, and we want/need to use that specific installation, not another one.
…ma_specially 602 handle lists indicated with comma specially
clean up support for --filter-deps + add unit tests
make sure Lmod is used as modules tool when generating module files in Lua syntax
make unit test suite pass, rename JobServer to JobBackend, fix default for --job-bakcend
sync with develop & resolve conflict
use None as default value for whatis + minor style fixes
rename parse_raw_path_* methods to interpret_raw_path_*, add dedicated tests for them + fix some bugs
cleanup & tests for find_backup_name_candidate & move_file
disable testing of bootstrap script when Modules v4 is used as modules tool
use DEFAULT_OPT_LEVEL constant + fix minor style issues
style fixes to make Hound CI happy
ensure ordered output in message printed by --list-prs, drop unused GITHUB_MAX_PER_PAGE from _postprocess_list_prs
add configuration option to allow disabling progress bar
tweak GPU part of output produced by --show-system-info
move `CWD_NOTFOUND_ERROR` constant to `tools.build_log`
fix handling of specified command environment in `create_cmd_scripts` + add test for env option in `run_shell_cmd`
had not enough time to actually provide code for the TODOs, but take a look at pkg_resource.require, it should replace most of the find_egg/regexp code
i also found a typo in an EB env var