Back to Daily Feed 
uv 0.12.0: Significant Changes to Project Initialization and `src/` Layout
Worth Reading
Originally published on Simon Willison's Weblog by Simon Willison
View Original Article
Share this article:

Summary & Key Takeaways
uv0.12.0 introduces breaking changes to theuv initcommand.- New projects now default to a
src/shaped package layout. - The release configures
uv_buildfor creating wheels and.tar.gzdistribution files. - A script alias is set up for executing the main function.
- These changes impact the default project structure for Python development.
Our Commentary
uv is quickly becoming a staple in the Python ecosystem, much like Bun or Turbopack in JavaScript. These kinds of changes to default project structure are always a bit disruptive, but often for the better. I've been meaning to switch to src/ layout myself, so this might be the push I needed. It's good to see tools evolving.
View Original Article
Share this article: