| ▲ | scorpioxy 2 hours ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Interesting point of view and I think feedback is good. Although I agree with the overall sentiment of the article, I disagree with the intensity of the criticism. Having a command runner within your project will mask a lot of the issues the author mentioned. And although, in my experience, having a command runner for mid-sized projects and up is useful for many things, masking the UX issues means there's a problem. I got on the uv bandwagon relatively recently as most of my work is maintaining older python projects so I've been using it for new builds. Although the speed part is welcome, I couldn't see what the big deal is and mostly keep on using it because it is a popular tool(there are benefits to that in my line of work) and not necessarily because it can do something that couldn't be done before though with a couple of other tools. Whether it is beneficial or detrimental to having all of that functionality within one tool, to me, is a matter of opinion. The problem to me is that I've seen this cycle many times before. New tool shows up claiming it is far superior to everything else with speed being a major factor and everyone else is doing it wrong. Even though the new tool does a fraction of what the old "bad" tool is doing. With adoption comes increased functionality and demands and the new tool starts morphing into the old tool with the same claimed downsides. The UX issues to me are a symptom of that process. I still think uv is a fine tool. I've used poetry before and sometimes plain old pip. They're all fine with each tool catering to different use cases, in my opinion. Sometimes you have to add pyenv, sometimes you don't. Sometimes you add direnv, sometimes you don't and so on. And I've cursed at everyone of them at times. However, the fanboyism is very strong with uv which makes me wonder why. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | skeledrew 4 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
For me, and I suspect many others, the big deal is that it makes env management simply disappear. Before uv I used conda+poetry for years, and there was always the need to activate the env before doing anything (I used autoenv and ended up with .env files containing "conda activate <env_name>" in every project), and various other small pains that I actually became accustomed to over the years, but then I'd always be surprised when someone said X didn't work when it was fine for me. The uv came and I felt a great relief that I didn't know I was missing, and suddenly there were also no more surprises. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | daemonologist 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
uv has a lot of great features, but the dependency resolution is why I'm a fanboy. It can resolve trees that pip gives up on, and it does it 20x faster than poetry (100x faster than pip) - saves me half an hour on some big projects. All the python resolution and environment management and stuff is just gravy. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||