←back to thread

129 points NeutralForest | 1 comments | | HN request time: 0.207s | source
Show context
qoez ◴[] No.44454665[source]
The comments in this thread all feel like auto generated engagement bot replies you'd see on twitter.
replies(8): >>44454710 #>>44454737 #>>44454780 #>>44454846 #>>44454881 #>>44454910 #>>44455020 #>>44455470 #
laughingcurve ◴[] No.44454881[source]
I know ! the problem is that when a product is so good that it converts people into evangelicals about it

With that said — it’s uv or die for me

replies(1): >>44454912 #
laborcontract ◴[] No.44454912[source]
I’ve been using and advocating uv ever since forever. It’s impossible to think about using python without nowadays.

Among many things it’s improved, scripting with python finally just works without the pain of some odd env issue.

replies(1): >>44455249 #
josteink ◴[] No.44455249[source]
> Among many things it’s improved, scripting with python finally just works without the pain of some odd env issue.

From what I can tell uv doesn’t (unlike poetry) assist with venvs what so ever.

What is a trivial «poetry run» becomes the same venv-horrors of Python fame when I use uv and «uv run».

Based on that, your comment strikes me as the polar opposite of my experience (which is why I still resort to poetry).

Care to outline how you use v to solve venv-issues, since from what I can tell, uv explicitly doesn’t?

I’m very curious.

replies(1): >>44455369 #
laborcontract ◴[] No.44455369[source]
I use uv in my shebang and “uv run script.py”. Never run into any issues.

Here’s a couple links to discussions about it on HN:

https://news.ycombinator.com/item?id=42198256

https://news.ycombinator.com/item?id=42855258

replies(1): >>44455535 #
1. josteink ◴[] No.44455535[source]
So if you've imported pytest and want to run it, you can’t just «uv run pytes», but have to create a script with a uv-shebang which runs pytest for you?

And how does that work on Windows, which to my knowledge doesn’t even support shebangs?