3 ms·
I know Python has been big in the space for longer than uv's existence, but uv (https://docs.astral.sh/uv/ https://docs.astral.sh/uv/) has made Python packaging
by myko 9mo ago
I know Python has been big in the space for longer than uv's existence, but uv (https://docs.astral.sh/uv/ https://docs.astral.sh/uv/) has made Python packaging dead simple to me
- CamouflagedKiwi 9mo agoI don't think uv makes distribution simple? Unless I've missed something, it doesn't do anything out of the box to help you produce a standalone artifact - it builds wheels but those are only useful for a user that already has python and pip, and don't do anything to deal with Python version drift etc.
- gegtik 9mo agouv can install a version of python of your choosing in addition to pulling the specific versions of libraries specified in your lockfile. it's extremely dummy-resistant.
- CamouflagedKiwi 9mo agoRight, but that means the end user has to have (or install) uv, and then you ship them all your code, and then they can use uv to run that. That's a development workflow - and exactly what I meant when I said that uv didn't solve distribution in the way a language like Go or Rust does by producing a single binary.
- maxandersen 9mo agouv does not solve all problems - but it for sure greatly improves chance of python tools working. jbang is to java, what uv(x) is to python and what npm/npmx is to javascript.