Closed Bug 1881301 Opened 1 years ago Closed 4 months ago

Use uv for installing Python packages

Categories

(Testing :: General, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1934096

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.

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.

Product: Firefox Build System → Testing
Status: NEW → RESOLVED
Closed: 4 months ago
Duplicate of bug: 1934096
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.