Skip to content

module_cmd: use semicolons instead of newlines python command#13904

Merged
tgamblin merged 1 commit intodevelopfrom
bugfix/modules-python-command-newlines
Nov 27, 2019
Merged

module_cmd: use semicolons instead of newlines python command#13904
tgamblin merged 1 commit intodevelopfrom
bugfix/modules-python-command-newlines

Conversation

@becker33
Copy link
Copy Markdown
Member

fixes a bug reported on slack.

python -c fails with lines delimited by newlines, but succeeds with lines delimited by semicolons.

This PR fixes Spack's module function to use semicolons instead of newlines.

@tgamblin tgamblin merged commit 1450c30 into develop Nov 27, 2019
tgamblin added a commit that referenced this pull request Dec 5, 2019
v0.13.2

This release contains major performance improvements for Spack environments, as well as some bugfixes and minor changes.

* allow missing modules if they are blacklisted (#13540)
* speed up environment activation (#13557)
* mirror path works for unknown versions (#13626)
* environments: don't try to modify run-env if a spec is not installed (#13589)
* use semicolons instead of newlines in module/python command (#13904)
* verify.py: os.path.exists exception handling (#13656)
* Document use of the maintainers field (#13479)
* bugfix with config caching (#13755)
* hwloc: added 'master' version pointing at the HEAD of the master branch (#13734)
* config option to allow gpg warning suppression (#13744)
* fix for relative symlinks when relocating binary packages (#13727)
* allow binary relocation of strings in relative binaries (#13724)
tgamblin added a commit that referenced this pull request Dec 5, 2019
v0.13.2

This release contains major performance improvements for Spack environments, as well as some bugfixes and minor changes.

* allow missing modules if they are blacklisted (#13540)
* speed up environment activation (#13557)
* mirror path works for unknown versions (#13626)
* environments: don't try to modify run-env if a spec is not installed (#13589)
* use semicolons instead of newlines in module/python command (#13904)
* verify.py: os.path.exists exception handling (#13656)
* Document use of the maintainers field (#13479)
* bugfix with config caching (#13755)
* hwloc: added 'master' version pointing at the HEAD of the master branch (#13734)
* config option to allow gpg warning suppression (#13744)
* fix for relative symlinks when relocating binary packages (#13727)
* allow binary relocation of strings in relative binaries (#13724)
@tgamblin tgamblin deleted the bugfix/modules-python-command-newlines branch December 24, 2019 09:10
samiilvonen pushed a commit to CSCfi/spack that referenced this pull request Jan 10, 2020
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

Successfully merging this pull request may close these issues.

2 participants