bakefile.py fails to import because a dependency is missing, bake runs uv sync automatically and retries. If loading still fails:
- Run
uv cache cleanand retry. - For a PEP 723 bakefile, check that every import is declared in the inline
# dependenciesblock. - For a
pyproject.tomlproject, runuv sync --all-extras --all-groups. - A traceback here usually means a real bug in
bakefile.py. Check it compiles: