←back to thread

/usr/bin/env -S uv run

(simonwillison.net)
115 points jcbhmr | 1 comments | | HN request time: 0.215s | source
Show context
mrweasel ◴[] No.42202316[source]
While neat, doesn't it also comes with certain issues?

Startup times has to be slower, but probably only for the first run?

There's a some level of violation of the "Principle Of Least Surprise", depending on the setting. For some it will be the reverse, the script they got just works, without any setup or package installation. For others we'll wonder why it just started downloading a bunch of packages we already have.

Probably not the greatest idea for production environments, where you should not or can not just pull in packages from the internet.

It's really cool that it works, but I think I'd recommended using it highly selectively.

replies(3): >>42202633 #>>42202803 #>>42202806 #
1. heresie-dabord ◴[] No.42202633[source]
> Probably not the greatest idea for production environments

Nor for any system where one takes care to not needlessly increase the threat surface.