38
A plea not to use uv-build for Python
(blogs.gentoo.org)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Somewhat of a side discussion, but these aren't the only issues you can have when using uv-build.
While it's stable now, it expects certain directory layouts and can only be used on pure Python projects. If you need anything else, you are better off using hatchling anyway, which used to be the default even for uv.
This is also why some of your old uv-based projects might build fine and the same code won't build in a modern uv project; they switched the default.
Here's a thing directly from the authors:
Source