this post was submitted on 20 Aug 2024
92 points (98.9% liked)

Python

6207 readers
11 users here now

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

πŸ“… Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
 

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
[–] FizzyOrange@programming.dev 9 points 3 weeks ago (3 children)

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 weeks ago (2 children)

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

[–] FizzyOrange@programming.dev 4 points 3 weeks ago (1 children)

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 weeks ago

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

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