File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -1602,25 +1602,6 @@ def process_graph(graph: Graph, manager: BuildManager) -> None:
1602
1602
else :
1603
1603
process_stale_scc (graph , scc )
1604
1604
1605
- # TODO: This is a workaround to get around the "chaining imports" problem
1606
- # with the interface checks.
1607
- #
1608
- # That is, if we have a file named `module_a.py` which does:
1609
- #
1610
- # import module_b
1611
- # module_b.module_c.foo(3)
1612
- #
1613
- # ...and if the type signature of `module_c.foo(...)` were to change,
1614
- # module_a_ would not be rechecked since the interface of `module_b`
1615
- # would not be considered changed.
1616
- #
1617
- # As a workaround, this check will force a module's interface to be
1618
- # considered stale if anything it imports has a stale interface,
1619
- # which ensures these changes are caught and propagated.
1620
- if len (stale_deps ) > 0 :
1621
- for id in scc :
1622
- graph [id ].mark_interface_stale ()
1623
-
1624
1605
1625
1606
def order_ascc (graph : Graph , ascc : AbstractSet [str ], pri_max : int = PRI_ALL ) -> List [str ]:
1626
1607
"""Come up with the ideal processing order within an SCC.
You can’t perform that action at this time.
0 commit comments