Migrating to UV
The Great UV Migration
This might just be my own observation from my little abode on the Interwebs (so take it with a grain of salt), but it’s been a minute since I’ve been excited (and seen much excite) about a piece of Python tooling.
A few months ago, after reading Hynek’s blog, I tweeted:
Been playing around with @astral_sh uv for a bit - unbelievable how much faster builds are with it (and surprised with how much latency we're willing to tolerate).
— Ryan Kanno (@ryankanno) September 29, 2024
Now that they’re stable, I’ve slowly begun migrating my personal repositories.
Why you ask?
- Fast. It’s incredibly fast. Did I mention it’s fast? (Think faster tests, build times, and feedback!)
- Workspace support for monorepos. While there’s been quite a number of attempts in Poetry, they always felt very hacky - so I’ve kept my distance.
Nice to haves
I’m still hoping the following issues get addressed as they’re pretty ingrained in my workflow.
- Having a built-in upgrade command. Currently using poetry-plugin-up.
- Dependabot supporting uv.lock
Even with cruft and a cookiecutter template, this is still going to be quite the undertaking.
See y’all in a few years!
- Tagged:
- Technology,
- Uv,
- Python