News for hackers. Stuff that matters.
Re:uv Running a Script with Dependencies by simonw on Tuesday July 22, 2025 @11:04PM (#44655366)
Have you used uv run?
Re:uv Running a Script with Dependencies by crabbone on Wednesday July 23, 2025 @08:21AM (#44658393)
Out of curiosity, yes, I did. But I don't have any use for this tool. I can do better without it. I use these tools because I'm often requested to help those who use them and in so doing make a mess out of their working environment to the point that they can no longer do any work. So, I want to be up to date on latest threats. But as for my personal work with Python, there's simply no use-case where I'd need a tool like uv. It serves no purpose.
Re:uv Running a Script with Dependencies by simonw on Wednesday July 23, 2025 @09:10AM (#44658831)
A lot of people disagree with you there.

I've found it extremely useful because it makes it trivial for me to try out new dependency versions without thinking about which environment should install them in first.

When I'm teaching people Python the earliest sticking point is always "now activate your virtual environment" - being able to avoid that is huge.