Conversation
according to https://github.com/spack/spack/pull/51162/files#diff-488a7e837ca723c084eeb8c89cbb9d214ac2493be9c6b530a202da06b84a085f it has just been moved from defaults to defaults/base in spack/etc
skip also default modules.yaml when config:modules:false
bcf7279 to
551f33d
Compare
- modules.yaml must be provided if config:modules:true - add consistency check config:modules vs modules.yaml in recipe - minimal refactoring
bcumming
requested changes
Nov 26, 2025
Member
bcumming
left a comment
There was a problem hiding this comment.
Thanks!
I have one small fix in the docs.
Shall we remove config:modules in another PR? I would be happy to do it in this one.
bcfe222 to
d10703e
Compare
2 tasks
bcumming
approved these changes
Nov 26, 2025
Contributor
Author
|
As suggested by @bcumming, I checked if the recipe-without-modulesrecipe-with-modules |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #274
Changelog:
fix path for modules.yaml default (continue reading for more details)modules.yamlprovidedconfig:modulesdeprecated: it can still be specified, but with a warning messageconfig:modulesand existence ofmodules.yamlfile in recipeconfig:modules:falseAccording to PR51162 the file is still in
spack/etcbut it has been moved fromdefaultstodefaults/base.modules.yamlfallback is used whenconfig:modules:false