News for hackers. Stuff that matters.
Re:Astral to Join OpenAI by rtpg on Thursday March 19, 2026 @04:30PM (#47445558)
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.

Re:Astral to Join OpenAI by bmitc on Thursday March 19, 2026 @08:26PM (#47448561)
How 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.
Re:Astral to Join OpenAI by rtpg on Thursday March 19, 2026 @08:40PM (#47448693)
uv 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.

Re:Astral to Join OpenAI by neves on Thursday March 19, 2026 @09:01PM (#47448902)
uv 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
Re:Astral to Join OpenAI by fud101 on Friday March 20, 2026 @12:12AM (#47450405)
i 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.
Re:Astral to Join OpenAI by rtpg on Friday March 20, 2026 @12:36AM (#47450546)
I 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.
Re:Astral to Join OpenAI by fud101 on Friday March 20, 2026 @01:06AM (#47450722)
the point about defaults though, the default or defacto workflow is uv run
Re:Astral to Join OpenAI by esseph on Friday March 20, 2026 @06:03AM (#47452546)
Maybe, but that's not how I've been holding it.

I think I have trauma from virtual environments...

Re:Astral to Join OpenAI by JodieBenitez on Friday March 20, 2026 @04:29AM (#47451954)
Performance 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.

Re:Astral to Join OpenAI by pjmlp on Friday March 20, 2026 @08:11AM (#47453459)
One of them is written in Rust....
Re:Astral to Join OpenAI by the__alchemist on Friday March 20, 2026 @10:30AM (#47455087)
I 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.
Re:Astral to Join OpenAI by duskdozer on Saturday March 21, 2026 @08:47AM (#47466549)
>people continued just using pip -r requirements.txt

What exactly is the issue with this?

Re:Astral to Join OpenAI by Smaug123 on Sunday March 22, 2026 @07:17AM (#47476364)
The requirements file isn't a lockfile: running that command at different times will give you different venvs.
Re:Astral to Join OpenAI by duskdozer on Tuesday March 24, 2026 @12:48AM (#47498705)
Right, and that's expected.