2 ms·
> I can’t even run a simple script without either polluting my global environment or creating a virtual environment for a one-off script I’ll never run again.
by zahlman 1y ago
> I can’t even run a simple script without either polluting my global environment or creating a virtual environment for a one-off script I’ll never run again.
uv doesn't change that. It just handles the virtual environment creation for you (which can also be done in many other ways). It also doesn't fundamentally change the equation of dependency version conflicts (it has the same package base, and the problems with loading multiple versions of the same library are inherent to Python itself) or build errors (Python package metadata isn't designed to specify external dependencies like specific C compilers, but also the problems are becoming rarer over time because developers are just providing more pre-built wheels).
(Bonus: the linked article makes a claim about how pip's dependency resolution works, citing another blog post from 2019. Pip got a new resolver in 2020. Pip will now directly tell you that `boto3==1.4.0` is incompatible with `botocore==1.8.33`, and not install anything, directly addressing the complaint from that post.)
But it's clear from your submission/comment history that you're only here to promote your blogspam with AI-generated blurbs, so I'm really only saying it for the benefit of passers-by, not you.