Hacker News new | ask | show | jobs
by cik 582 days ago
Joining your aside to tout the benefits of uv. We use uv combined with a simple proxy I wrote, to cache python dependencies, and then install them in parallel. UV also makes it simple to regenerate a requirements file and know who requires the dependencies, which in turn makes it easy to manage the ecosystem, analyze packages, and determine if we can reduce our footprint.

Between that latter feature, the proxy, the parallelization we've reduced build times across ~100 engineers by a solid 10 minutes. There are other things we do as well, but uv is a must have nowadays.

2 comments

Is your caching proxy open source?
It's just nginx. Here's a link to something someone did. It's close enough to be honest, unless you have our specialized needs.

https://github.com/hauntsaninja/nginx_pypi_cache

working on switching over a lot of our python usage to UV, seeing similar speedups in builds and local environments