logoalt Hacker News

zanieyesterday at 8:10 PM2 repliesview on HN

We have the interface because we care a lot about meeting people where they are.

We keep the interface because we care a lot about long-term support and compatibility. I cannot imagine removing it.

We generally want to add features to the top-level interface such that people don't need or want to use the pip-interface because the top-level interface does everything you need, but better.


Replies

nvme0n1p1yesterday at 8:24 PM

Laudable goals. Have you considered gating imperative commands behind a setting, maybe `tool.uv.pip.unreproducible = true` or somesuch? This would gently guide people towards better workflows, and also be a starting point for documenting the drawbacks of `uv pip` since it's a setting they'd be forced to add and presumably they'll read the docs for it first.

uv already does something similar with `tool.uv.pip.break-system-packages`.

show 2 replies
hallvardyesterday at 8:15 PM

Fair points; the reason for asking is that it seems counterintuitive from the outside perspective for you to maintain/extend the pip interface as well?

And of course that some colleagues of mine insist on using `uv pip` for anything and everything, which feels wrong…

Granted it’s a great feature which made the transition to uv smooth in the first place.

show 1 reply