←back to thread

Fun with uv and PEP 723

(www.cottongeeks.com)
618 points deepakjois | 2 comments | | HN request time: 0s | source
Show context
4dregress ◴[] No.44374002[source]
I’ve been a python dev for nearly a decade and never once thought dep management was a problem.

If I’ve ever had to run a “script” in any type of deployed ENV it’s always been done in that ENVs python shell .

So I still don’t see what the fuss is about?

I work on a massive python code base and the only benefit I’ve seen from moving to UV is it has sped up dep installation which has had positive impact on local and CI setup times.

replies(7): >>44374205 #>>44374268 #>>44374280 #>>44374598 #>>44375288 #>>44378102 #>>44391546 #
bboygravity ◴[] No.44374280[source]
How did you tell other people/noobs to run your python code (or how did you run it yourself after 5+ years of not touching older projects)?
replies(1): >>44376067 #
x187463 ◴[] No.44376067[source]
run script

"missing x..."

pip install x

run script

"missing y..."

pip install y

> y not found

google y to find package name

pip install ypackage

> conflict with other package

realize I forgot a venv and have contaminated my system python

check pip help output to remember how to uninstall a package

clean up system python

create venv at cwd

start over

...

</end of time>

replies(2): >>44378459 #>>44381518 #
1. psunavy03 ◴[] No.44381518[source]
>realize I forgot a venv and have contaminated my system python

>check pip help output to remember how to uninstall a package

>clean up system python

>create venv at cwd

>start over

This hits disturbingly close to home.

replies(1): >>44383554 #
2. whattheheckheck ◴[] No.44383554[source]
This is like seeing someone complain they have to turn their computer on to do work