Use uv for installing Python packages
Categories
(Testing :: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: marco, Unassigned)
References
(Blocks 1 open bug)
Details
According to https://astral.sh/blog/uv, uv should offer great performance improvements for package installation. Given we are doing this in most tasks, it might turn out to be a huge cost saving.
Comment 1•1 years ago
|
||
As far as the build system and local builds are concerned, there is a chicken-and-egg problem, where we'd need to bootstrap uv, and the bootstrap process itself already requires setting up virtualenvs.
It's also not as much of a big deal locally, compared to CI, where the fact that packages are installed one by one via different pip install commands makes things really bad. I would argue grouping those installs would alleviate the problem in large part, without needing something like uv.
That said, for CI tests, where it can "just" be a task dependency, that could work out fine. In any case, that's not a build system thing.
Reporter | ||
Updated•4 months ago
|
Description
•