satisfaction checks on dependencies should be strict when the parent check is strict (#13243)
This commit is contained in:
parent
9ddc98e46a
commit
fd88f8fefa
@ -2899,7 +2899,7 @@ def satisfies_dependencies(self, other, strict=False):
|
|||||||
|
|
||||||
selfdeps = self.traverse(root=False)
|
selfdeps = self.traverse(root=False)
|
||||||
otherdeps = other.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):
|
for dep in otherdeps):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user