top | item 39389964

(no title)

joshSzep | 2 years ago

And the following examples show it is not. While it is pretty straightforward to add `uv ` in front of any pip calls, it is not API compatible.

discuss

order

romantomjak|2 years ago

Granted they are still working on it, but in the meantime - add a shell alias for uv?

alias pip="/usr/bin/uv pip"

aragilar|2 years ago

How does that solve the problem that uv isn't a drop-in replacement? Are they going to implement the whole of pip, warts and all? Unlikely, because even though its in rust, they're getting a fair bit of speedup by making assumptions (see their ruff benchmarks, most of pylint isn't implemented), and as we've seen with both poetry and pipenv, those assumptions break down. pixi may get somewhat closer (given their experience with conda, and so familiarity with workflows and needs outside webdev), but I suspect uv will only further add issues and confusion to Python installs (especially if people decide to try aliasing and things break).

liveoneggs|2 years ago

take it all the way and force integrate it into venv