94

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

you are viewing a single comment's thread
view the rest of the comments
[-] hades@lemm.ee 9 points 3 months 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.

[-] FizzyOrange@programming.dev 9 points 3 months ago

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.

[-] drwho@beehaw.org 1 points 3 months ago

Just out of curiosity, how often do you have to run pip install?

[-] FizzyOrange@programming.dev 4 points 3 months ago

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.

[-] drwho@beehaw.org 3 points 3 months ago

No, that makes perfect sense. Thank you for explaining.

I like hearing about other people's environments, because it gives perspective.

load more comments (6 replies)
this post was submitted on 20 Aug 2024
94 points (99.0% liked)

Python

6420 readers
31 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS