this post was submitted on 20 Aug 2024
94 points (99.0% liked)

Python

6380 readers
107 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
 

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 9 points 3 months ago (1 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.

[–] [email protected] 1 points 3 months ago (1 children)

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

[–] FizzyOrange 4 points 2 months 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.

[–] [email protected] 3 points 2 months ago

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

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