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

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.

permalink
report
parent
reply
1 point

How is it better than poetry?

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
2 points

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.

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

  • 744

    Monthly active users

  • 168

    Posts

  • 707

    Comments