Skip to content

docs: add --no-package to uv init command (default changed in uv 0.12) - #858

Open
LautaroFoche wants to merge 1 commit into
DataTalksClub:mainfrom
LautaroFoche:main
Open

docs: add --no-package to uv init command (default changed in uv 0.12)#858
LautaroFoche wants to merge 1 commit into
DataTalksClub:mainfrom
LautaroFoche:main

Conversation

@LautaroFoche

Copy link
Copy Markdown

Since uv 0.12, uv init packages the project by default (adds a
[build-system] table and expects a src//init.py layout).
This breaks the tutorial, which assumes the "unpackaged" behavior
from before that version (a flat main.py, no build-system).

Adding --no-package restores the expected structure and avoids
the "Expected a Python module at src/pipeline/init.py" error
when running uv sync.

Before:
image

After:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants