Relaxed constraints on config.yaml structure (#5115)
This PR allows additional unused properties at the top-level of the config.yaml file. Having these properties permits to use two different versions of Spack, one of which adds a new property, without receiving error messages due to the presence of this new property in a configuration cache stored in the user's home.
This commit is contained in:
parent
1c8bdd7e24
commit
c16a68f517
1 changed files with 0 additions and 1 deletions
|
@ -38,7 +38,6 @@
|
||||||
'config': {
|
'config': {
|
||||||
'type': 'object',
|
'type': 'object',
|
||||||
'default': {},
|
'default': {},
|
||||||
'additionalProperties': False,
|
|
||||||
'properties': {
|
'properties': {
|
||||||
'install_tree': {'type': 'string'},
|
'install_tree': {'type': 'string'},
|
||||||
'install_hash_length': {'type': 'integer', 'minimum': 1},
|
'install_hash_length': {'type': 'integer', 'minimum': 1},
|
||||||
|
|
Loading…
Reference in a new issue