(no title)
ericfrederich | 1 year ago
I see that UV is bragging about being 10-100x faster than pip. In my experience the time spent in dependency resolution is dwarfed by the time making web requests and downloading packages.
Also, this isn't something that runs every time you run a Python script. It's ran once during installation of a Python package.
rmholt|1 year ago
ModernMech|1 year ago
extr|1 year ago
kzrdude|1 year ago
ivirshup|1 year ago
It also doesn't compile .py files to .pyc at install time by default, but that just defers the cost to first import.
dgellow|1 year ago
ericfrederich|1 year ago
Features should be developed and tested locally before any code is pushed to a CI system. Dependency resolution should happen once while the container is being built. Containers themselves shouldn't be installing anything on the fly it should be baked in exactly once per build.