100
you are viewing a single comment's thread
view the rest of the comments
[-] Midnitte@beehaw.org 3 points 2 days ago

Tbf, uv is trying to solve packaging now

[-] FizzyOrange@programming.dev 3 points 2 days ago

Yeah it's definitely a vast improvement on previous attempts (Poetry et al).

I dunno if it can be called solved until it's officially sanctioned and installed by default though, and I don't see that happening for a very long time.

[-] humble_pete_digger@lemm.ee 1 points 1 day ago

How is it better than poetry?

[-] FizzyOrange@programming.dev 3 points 1 day ago

It actually works. I tried poetry once and it failed to resolve some simple dependency specification.

Ok you can say it was a fluke bug but it didn't inspire confidence.

uv is also freakishly fast. My venv setup times went from 57 seconds to 7 seconds. I seriously doubt Poetry can do that because it's written in Python.

[-] Buttons@programming.dev 2 points 1 day ago

I abandoned poetry after it was unable to install a specific version of pytorch I was using.

In pip I would do something like pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118, but IIRC poetry didn't support the --index-url option.

this post was submitted on 07 Oct 2024
100 points (100.0% liked)

Python

6271 readers
4 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