ci.py: visit all edges (#43761)

This commit is contained in:
Massimiliano Culpo 2024-04-20 21:29:32 +02:00 committed by GitHub
parent 1b315a9ede
commit 78b6fa96e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,7 +205,7 @@ def _extract_dag(specs: List[spack.spec.Spec]) -> Tuple[PlainNodes, PlainEdges]:
nodes: PlainNodes = {} nodes: PlainNodes = {}
edges: PlainEdges = defaultdict(set) edges: PlainEdges = defaultdict(set)
for edge in traverse.traverse_edges(specs): for edge in traverse.traverse_edges(specs, cover="edges"):
if (edge.parent and edge.parent.external) or edge.spec.external: if (edge.parent and edge.parent.external) or edge.spec.external:
continue continue
child_id = _spec_ci_label(edge.spec) child_id = _spec_ci_label(edge.spec)