summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2019-10-17 11:02:14 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-10-17 11:02:14 -0700
commitfd88f8fefa578518e51db88c67ed8c4cfc16c66c (patch)
treeedd2960cf16be6108d71671f6c8327822b953ea3 /lib
parent9ddc98e46a73d53e9937cad1a430a34522d241de (diff)
downloadspack-fd88f8fefa578518e51db88c67ed8c4cfc16c66c.tar.gz
spack-fd88f8fefa578518e51db88c67ed8c4cfc16c66c.tar.bz2
spack-fd88f8fefa578518e51db88c67ed8c4cfc16c66c.tar.xz
spack-fd88f8fefa578518e51db88c67ed8c4cfc16c66c.zip
satisfaction checks on dependencies should be strict when the parent check is strict (#13243)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index 0cde672de2..1a6cc5f6bd 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -2899,7 +2899,7 @@ class Spec(object):
selfdeps = self.traverse(root=False)
otherdeps = other.traverse(root=False)
- if not all(any(d.satisfies(dep) for d in selfdeps)
+ if not all(any(d.satisfies(dep, strict=True) for d in selfdeps)
for dep in otherdeps):
return False