3 ms·
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.
by cik 2y 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.
- freetonik 2y agoIs your caching proxy open source?
- cik 2y agoIt'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 https://github.com/hauntsaninja/nginx_pypi_cache
- campbel 2y agoworking on switching over a lot of our python usage to UV, seeing similar speedups in builds and local environments