From c16a68f517ca1bd08a7dde454fac850e4c3b6013 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 17 Aug 2017 06:37:09 +0200 Subject: 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. --- lib/spack/spack/schema/config.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/spack/spack/schema/config.py b/lib/spack/spack/schema/config.py index abcb8d6051..73b59ea3c7 100644 --- a/lib/spack/spack/schema/config.py +++ b/lib/spack/spack/schema/config.py @@ -38,7 +38,6 @@ schema = { 'config': { 'type': 'object', 'default': {}, - 'additionalProperties': False, 'properties': { 'install_tree': {'type': 'string'}, 'install_hash_length': {'type': 'integer', 'minimum': 1}, -- cgit v1.2.3-60-g2f50