3 ms·
Poetry and friends are so bad that many people continued just using pip -r requirements.txt despite knowing about this other stuff Poetry having users isn’t th
by rtpg 7mo ago
Poetry and friends are so bad that many people continued just using pip -r requirements.txt despite knowing about this other stuff
Poetry having users isn’t the metric for success. pip having way less users is.
- bmitc 7mo agoHow is uv awesome and Poetry so bad? They do basically the same things except Astral re-invents the wheel but only part way instead of just relying on the existing tools. uv is fast. As far as I can tell, there's hardly any difference in functionality except for it also replacing PyEnv, which I never use anyway.
- rtpg 7mo agouv assuming your local Python is busted to hell and back helps a lot with isolation. Poetry's CLI would often, for me, just fall over and crash. Crashing a lot is not a fundamental problem in the sense you can fix the bugs, but hey I'm not hitting uv crashes. pipenv was even worse in terms of just hanging during package resolution. Tools that hang are not tools you want in a CI pipeline! The end result: `uv run` I expect to work. `pipenv` or `poetry` calls I have to assume don't work, have to put retries into CI pipelines and things like that.
- neves 7mo agouv has a lot of sensible defaults that prevent clueless developers to shoot their own feet. Uv sync, for example, would uninstall packages not in pyproject.toml
- fud101 7mo agoi kind of disagree with this. uv run is clunky, i don't want that. i want to keep the activate the venv and do shit model. i hate uv run as a primitive.
- rtpg 7mo agoI mean you don't need to use that then. `uv` is still writing to `.venv` by default and you can activate it with `direnv` or w/e.
- JodieBenitez 7mo agoPerformance aside, uv is more standards compliant than Poetry about the pyproject.toml. But yes, in terms of user interface they are pretty similar. UV performance really does make the difference.
- pjmlp 7mo agoOne of them is written in Rust....
- the__alchemist 7mo agoI don't know if it's still true, but ~7 years ago when I last looked at it, Poetry didn't have the kind of UX I have in mind (That Astral/UV do). I remember trying to make it work, and it would choose Python 2 for some reason, despite me never having used it, and it having been obsoleted years before. I remember hitting many problems/errors I can't recall the detail of, but bad UX.
- duskdozer 6mo ago>people continued just using pip -r requirements.txt What exactly is the issue with this?