TL;DR: uv is an extremely fast Python package manager, written in Rust.

  • hades ( hades@lemm.ee ) 
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    Is that a real problem? I’ve never considered that a python package manager should be or could be faster.

    To be fair, I don’t use python professionally.

    • Yes. For the project I work on pip install takes about 60 seconds and replacing it with uv reduces that to about 7 seconds. That’s a very significant improvement. Much less annoying interactively and in CI we do this multiple times so it saves a significant chunk of time.

        • I dunno maybe once a week or so? We don’t actually have a system that detects if your pip install is out of sync with pyproject.toml yet so I run it occasionally just to make sure.

          And it runs in CI around a dozen times for each PR. Yeah not ideal but there are goodish reasons which I can explain if you want.

    • Midnitte ( Midnitte@beehaw.org ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      I think the main focus is around building out the tool chain - I would think being fast is just a side benefit and the main benefit is being written as the same language as what they want to use for the rest of “cargo”