Skip to content

[pull] develop from boegel:develop #2

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

Merged
merged 360 commits into from
May 28, 2025
Merged

[pull] develop from boegel:develop #2

merged 360 commits into from
May 28, 2025

Conversation

pull[bot]
Copy link

@pull pull bot commented May 28, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

Caspar van Leeuwen and others added 30 commits April 8, 2025 18:12
When processing multiple EasyConfigs where one does not exist `samefile`
will abort with a `FileNotFoundError`.
So move the existance check to the top of the loop.
Avoid failure when only some passed easyconfigs exist
Since some easyblocks, e.g. `CMakeMake` modify `self.cfg['configopts']`
it's safer to start afresh for every iteration. This PR implements
this by turning options like these, if not already lists,
into lists with identical element copies, e.g.
`[self.cfg['configopts']] * <number_of_iterations>`

This modification does not affect the logic of iterative `builddependencies`
itself since it is used in some other places in the code.
This way each iteration will start from the original copy of
configopts etc, as it's in the iter_opts dict.
take into account `job-output-dir` option in Slurm job backend
This deals with easyconfigs that have lists with just one element
so they will be iterated: `toy.eb` in tests has
`prebuildopts = "echo \"int main() { return 0; }\" > exts-git.c && ",`
the trailing comma makes that a tuple with one element.
Apply this patch directly to the code without easybuilders#4848 makes it fail
with
AssertionError: 'FOO=bar ' != ''
- FOO=bar
+
Fix grammar

Co-authored-by: Jasper Grimm <[email protected]>
boegel and others added 28 commits May 21, 2025 14:40
…rename DEFAULT_MODEXTRAVARS* constants in ModuleGenerator class)
…d by EasyBlock.module_load_environment.expand_paths
mark `EasyBlock.expand_module_search_path` as removed, has been replaced by `EasyBlock.module_load_environment.expand_paths`
rename `shell_vars` options in `modextravars` to `resolve_env_vars` (+ rename `DEFAULT_MODEXTRAVARS*` constants in `ModuleGenerator` class)
…v_from_report

Avoid leaking keys by mistake with `--upload-test-report`
add support for environment variables in `set_environment` of module generators
move `EasyBlock.expand_module_search_path` into `ModuleEnvironmentVariable.expand_paths`
The `--dep-graph` command uses `graphviz-python` (`import gv`) to convert a dot-graph into an image file. This library seems outdated. In pip it is now called `graphviz` and the API is slightly different. The docs already refer to it.
This commit fixes the import and the function that renders the graph image.
…tent (with result of sanity check commands, for example)
Fix `--dep-graph` by using `graphviz` Python package
replace full trace message for extension check command with simple pass/fail message
add support for `check_readelf_rpath` easyconfig parameter to optionally skip RPATH checks
…f fake module is always done, even if an error was raised
…ronment

fix `fake_module_environment` context manager: make sure that cleanup of fake module is always done, even if an error was raised
prepare release notes for EasyBuild v5.1.0 + bump version to 5.1.0
@pull pull bot added the ⤵️ pull label May 28, 2025
@pull pull bot merged commit 47a7c24 into Spencerx:develop May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.