Live data from Hacker News

uv downloads overtake Poetry for Wagtail users

wagtail.org

151–160 of 206 posts

Re: uv downloads overtake Poetry for Wagtail users

#151
post #111

Earlier quoted context omitted.

uv build Building source distribution... running egg_info writing venv.egg-info/PKG-INFO Successfully built dist/venv-0.1.0.tar.gz Successfully built dist/venv-0.1.0-py3-none-any.whl

I guess it depends on what you mean by a build system. From my understanding uv build basically just bundles up all the source code it finds, and packages it into a .whl with the correct metadata. It cannot actually do any build steps like running commands to compile or transform code or data in any way. For that you need something like setuptools or scikit-build or similar. All of which integrate seamlessly with uv.

I see what you mean. You can use it with mise that has build support.

Re: uv downloads overtake Poetry for Wagtail users

#152
post #3

I recently switched to uv, and I cannot praise it enough. With uv, the Python ecosystem finally feels mature and polished rather than like a collection of brittle hacks. Kudos to the uv developers for creating such an amazing piece of software!

Ok, you convinced me to give it a try. Tbh, I am a casual user of python and I don't want to touch it unless I have a damn good reason to use it.

> I am a casual user of python and I don't want to touch it unless I have a damn good reason to use it.

I... what? Python is a beautiful way to evolve beyond the troglodyte world of sh for system scripts. You are seriously missing out by being so pertinently against it.

Re: uv downloads overtake Poetry for Wagtail users

#153
post #48

Earlier quoted context omitted.

I don't think you need to sync, do you? It always just does it when running. That said, I do wish uv had `uv activate`. I like just working in the virtualenv without having to `uv run` everything.

You can still `source .venv/bin/activate(.fish)` and skip the uv run bit. I have Fish shell configured to automatically activate a .venv if it finds one in a directory I switch to.

I do do that, can you please share your fish script to autoload it? I have something for Poetry envs, but not venv dirs.

Re: uv downloads overtake Poetry for Wagtail users

#156
post #155

It's interesting to see UV downloads surpassing Poetry for Wagtail users. Could be a sign of growing preference for speed and simplicity.

Poetry also is a true open source project without corporate backing iirc, so they don't have the publicity levers that uv has.

Re: uv downloads overtake Poetry for Wagtail users

#157
uv, ruff.... Astral doesn't miss. Excited to see what else they can bring to the Python world.

Had an issue running something on the latest Python version installed (3.13) but only needed to 'downgrade' to 3.11 to run that particular script. Just a simple:

`uv run --python 3.11 --with openai-whisper transcribe.py`

And no need to mess with anything else.

Re: uv downloads overtake Poetry for Wagtail users

#160

Earlier quoted context omitted.

Yeah, switched to writing python professionally ~4 years ago, and been low key hating the ecosystem. From a java and javascript background, it's mostly been npm/mvn install and it "just works". With python, there's always someone being onboarded that can't get it to work. So many small issues. Have to have the correct version per project, then have to get the venv running. And then installing it needs to build stuff…

Python has been mostly working okay for me since I switched to Poetry. (“Mostly” because I think I’ve run into some weird issue once but I’ve tried to recall what it was and I just can’t.) uv felt a bit immature at the time, but sounds like it’s way better now. I really want to try it out... but Poetry just works, so I don’t really have an incentive to switch just yet. (Though I’ve switched from FlakeHeaven or someth…

A lot of Wagtail usage is with Poetry. Tends to be projects with 30-50 dependencies. It "just works" but we see a lot of people struggle with common tasks ("how do I upgrade this package"), and complain about how slow it is. I don’t have big insights outside of Wagtail users but I don’t think it’s too different.
Post reply on HN