summaryrefslogtreecommitdiff
path: root/.readthedocs.yml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-09-03 19:49:36 +0200
committerGitHub <noreply@github.com>2020-09-03 10:49:36 -0700
commitfab2622a71e5729fdd9fa90d5702250696bc9407 (patch)
tree94255b1f1ad5e841fc515fdaa849df03b76f2203 /.readthedocs.yml
parent741bb9bafe078d0dd39387e8ea63dca9386bb5a9 (diff)
downloadspack-fab2622a71e5729fdd9fa90d5702250696bc9407.tar.gz
spack-fab2622a71e5729fdd9fa90d5702250696bc9407.tar.bz2
spack-fab2622a71e5729fdd9fa90d5702250696bc9407.tar.xz
spack-fab2622a71e5729fdd9fa90d5702250696bc9407.zip
Hashing: force hash consistency for values read from config (#18446)
The 'external_modules' attribute on a Spec, when read from a YAML configuration file, may contain extra formatting that is lost when that Spec is written-to/read-from JSON format. This was resulting in a hashing instability (when the Spec was read back, it would report a different hash). This commit adds a function which removes the extra formatting from 'external_modules' as it is passed to the Spec in __init__ to ensure a consistent hash.
Diffstat (limited to '.readthedocs.yml')
0 files changed, 0 insertions, 0 deletions