summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorTodd Gamblin <gamblin2@llnl.gov>2022-04-25 00:46:21 -0700
committerGitHub <noreply@github.com>2022-04-25 07:46:21 +0000
commitd729b4e72bf85024bccf87f7a4fb7163cd2407ff (patch)
treefd5da7a694d735a1ad4098c47b21e4b88a354459 /README.md
parent35a4c2325ed4c040d95c7bd62892f465cfaa2cca (diff)
downloadspack-d729b4e72bf85024bccf87f7a4fb7163cd2407ff.tar.gz
spack-d729b4e72bf85024bccf87f7a4fb7163cd2407ff.tar.bz2
spack-d729b4e72bf85024bccf87f7a4fb7163cd2407ff.tar.xz
spack-d729b4e72bf85024bccf87f7a4fb7163cd2407ff.zip
bugfix: `installed` and `installed_upstream` should not assert (#30271)
Fix bug introduced in #30191. `Spec.installed` and `Spec.installed_upstream` should just return `False` for abstract specs, as they can be called in that context. - [x] `Spec.installed` returns `False` now instead of asserting that the `Spec` is concrete. - [x] `Spec.installed_upstream` returns `False` now instead of asserting that the `Spec` is concrete. - [x] `Spec.installed_upstream` no longer caches its result, as install status seems like a bad thing to cache -- it can easily be invalidated. Calling code should use transactions if there are peformance issues, as with other places in Spack. - [x] add tests for `Spec.installed` and `Spec.installed_upstream`
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions