satisfaction checks on dependencies should be strict when the parent check is strict (#13243)

This commit is contained in:
Peter Scheibel 2019-10-17 11:02:14 -07:00 committed by Todd Gamblin
parent 9ddc98e46a
commit fd88f8fefa

View File

@ -2899,7 +2899,7 @@ def satisfies_dependencies(self, other, strict=False):
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