You are viewing a single thread.
View all comments View context
4 points

We’re using poetry and it solves our problems. I’ll have to look into uv, but I don’t feel in any rush to switch away from poetry.

permalink
report
parent
reply
7 points

I’ve been mostly a poetry guy but have tested out uv a bit lately. Two main advantages I see are being able to install Python (I relied on pyenv before) and it’s waaay faster at solving/installing dependencies.

permalink
report
parent
reply
2 points

Yeah, it certainly looks nice, but my problems are:

  • everything runs in a docker container locally, so I don’t think the caching is going to be a huge win
  • we have a half-dozen teams and a dozen repositories or so, across three time zones, so big changes require a fair amount of effort
  • we just got through porting to poetry to split into dependency groups, and going back to not having that is a tough sell

So for me, it needs to at least have feature parity w/ poetry to seriously consider.

permalink
report
parent
reply
3 points
*

uv is still faster with a cold cache

and uv does have dep groups

about the second problem, there’s an issue open on writing a migration guide, but migrating manually is not too difficult.

permalink
report
parent
reply
3 points

You should be using dockers cache mounts

https://docs.docker.com/build/cache/optimize/#use-cache-mounts

permalink
report
parent
reply

Python

!python@programming.dev

Create post

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

📅 Events
Past

November 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
  • Pythörhead: a Python library for interacting with Lemmy
  • Plemmy: a Python package for accessing the Lemmy API
  • pylemmy pylemmy enables simple access to Lemmy’s API with Python
  • mastodon.py, a Python wrapper for the Mastodon API
Feeds

Community stats

  • 673

    Monthly active users

  • 170

    Posts

  • 708

    Comments