ELI5, why not submit patches, why a blog?
Uv is fantastic, but its package management UX is a mess
111–120 of 161 posts
Re: Uv is fantastic, but its package management UX is a mess
#112The "unsafe version" is an unreasonable accusation. Do people really believe in semantic versioning—that not bumping the major version means it's safe? It also creates hard-to-resolve compatibility problems, causing more issues than it solves. Not capping dependency versions has basically become the consensus.
Re: Uv is fantastic, but its package management UX is a mess
#113Isd requires uv.
uv? Not installed. Ok, pip install uv. No way, "externally managed" whatever that means.
Ok, install venv. Then install uv. Then install isd. All messages are cryptic, some exceptions were thrown on console for quite vanilla default cases.
Re: Uv is fantastic, but its package management UX is a mess
#114Re: Uv is fantastic, but its package management UX is a mess
#115Earlier quoted context omitted.
And then you look it up once, and now you know what it means forever. By contrast, the former expression is much wider with more going on, and furthermore you can't skim past it being sure nothing funny is going on because it may or may not be a range compatible with the latter form.
No. I have look it up years ago, and I don't remember all combination of `=` vs `^` vs `~` across all languages and package managers
Re: Uv is fantastic, but its package management UX is a mess
#116Possibly the most frustrating hidden command is `uv pip show {package}` - a) why is it hidden inside the pip subcommand, and b) why is it missing the package's homepage that you get from `pip show {package}`? Given that actually upgrading stuff with `uv` often means going off and finding version numbers yourself, removing the homepage URL from the show output just feels spiteful.
Re: Uv is fantastic, but its package management UX is a mess
#117UV has done so much for Python but I did fight it a bit today. I was trying to centralize the management of a script that appears in a few different repos, and has invariably drifted in its implementation in multiple way over time. My idea was uv run --with $package main --help I was looking for an easy way to automatically 1. Install it if it doesn’t exist and run 2. Don’t install it if it’s running the latest versi…
You might wanna check out https://copier.readthedocs.io/en/stable/ Dunno if it's your exact use case but it's been amazing for keeping a polyrepo microservice ecosystem in sync.
Re: Uv is fantastic, but its package management UX is a mess
#118> Poetry does the same by default, using a format like >=1.23.4, What??? I understood the first format instantly, but had no idea what the second meant until the author explained it.
And then you look it up once, and now you know what it means forever. By contrast, the former expression is much wider with more going on, and furthermore you can't skim past it being sure nothing funny is going on because it may or may not be a range compatible with the latter form.
Re: Uv is fantastic, but its package management UX is a mess
#119I was really surprise by the recommendation to use "uv tree --outdated --depth 1" to list outdated deps. I personally use "uv pip list --outdated" since it has been introduced. I agree that this is such an important command that it deserves its own top-level subcommand, though.
Though this makes me wonder why are there 2 ways of viewing outdated packages, with wildly different output? The UX is mess...