uv has does not (nor do they plan to add) support for conda, and that is a deal-breaker.
Uv's killer feature is making ad-hoc environments easy
51–60 of 428 posts
Re: Uv's killer feature is making ad-hoc environments easy
#52 # /// script
# requires-python = ">=3.12"
# dependencies = [
# "pandas",
# ]
# ///
h/t https://simonwillison.net/2024/Dec/19/one-shot-python-tools/Re: Uv's killer feature is making ad-hoc environments easy
#53As a NodeJS developer it's still kind of shocking to me that Python still hasn't resolved this mess. Node isn't perfect, and dealing with different versions of Node is annoying, but at least there's none of this "worry about modifying global environment" stuff.
This makes a big difference. There is also the social problem of Python community with too loud opinions for making a good robust default solution.
But same has now happened for Node with npm, yarn and pnpm.
Re: Uv's killer feature is making ad-hoc environments easy
#54uv has does not (nor do they plan to add) support for conda, and that is a deal-breaker.
Re: Uv's killer feature is making ad-hoc environments easy
#55Re: Uv's killer feature is making ad-hoc environments easy
#56uv has does not (nor do they plan to add) support for conda, and that is a deal-breaker.
I can't see why anyone is using Conda in 2025. In 2018, yeah, pip (now uv) was hard and you could get a "just works" experience installing Tensorflow + NVIDIA on Conda. In 2023 it was the other way around and it still is.
Examples include, quant libraries, in-house APIs/tools, etc.
Re: Uv's killer feature is making ad-hoc environments easy
#57As a NodeJS developer it's still kind of shocking to me that Python still hasn't resolved this mess. Node isn't perfect, and dealing with different versions of Node is annoying, but at least there's none of this "worry about modifying global environment" stuff.
Also we don't have a left pad scale dependency ecosystem that makes version conflicts such a pressing issue.
Re: Uv's killer feature is making ad-hoc environments easy
#58So I can just do uv {package} for a quick and dirty global install. I'm so used to pip install being global by default just making this shorthand makes things a bit easier.
Re: Uv's killer feature is making ad-hoc environments easy
#59wow, they've re-invented a tiny bit of Nix, purely legend!
That you can use without having 4 PhDs. It's pretty good. You should try it sometime when your done fully ingesting algebraic topology theory or whatever the fuck Nix requires to know just to install figlet.
Re: Uv's killer feature is making ad-hoc environments easy
#60Earlier quoted context omitted.
I never used anything other than pip. I never felt the need to use anything other than pip (with virtualenv). Am I missing anything?
Pip doesn't resolve dependencies for you. On small projects that can be ok, but if you're working on something medium to large, or you're working on it with other people you can quickly get yourself into a sticky situation where your environment isn't easily reproducible. Using uv means your project will have well defined dependencies.