diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2020-09-03 19:49:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 10:49:36 -0700 |
commit | fab2622a71e5729fdd9fa90d5702250696bc9407 (patch) | |
tree | 94255b1f1ad5e841fc515fdaa849df03b76f2203 /.readthedocs.yml | |
parent | 741bb9bafe078d0dd39387e8ea63dca9386bb5a9 (diff) | |
download | spack-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