MB003: cycle-dependencies¶
🚨 Breaking ❌ Not Fixable
MB003: Cells have circular dependencies.
What it does¶
Analyzes the dependency graph to detect circular references between cells, where cells depend on each other in a way that creates an impossible execution order.
Why is this bad?¶
Circular dependencies prevent marimo from: - Determining a valid execution order - Running notebooks reproducibly - Executing notebooks as scripts - Providing reliable reactive updates
This is a breaking error because it makes the notebook non-executable.
Examples¶
Problematic:
Solution: