uv 0.12.0
Blog · Read
uv initnow defaults to a src/-layout package structure instead of a flatmain.py, wiring up auv_buildbackend inpyproject.toml, aproject.scriptsentry, anduv run uv-initexecutingmain()fromsrc/uv_init/__init__.py.- A breaking change from 0.11.x’s default layout, illustrated with before/after diff screenshots comparing old and new project structure.
- Willison says he’ll now adopt src-layout for his own projects, having previously stuck with flat layout mostly out of inertia; also wonders aloud when uv will reach 1.0.