Remix.run Logo
▲ WhyNotHugo 5 hours ago

I dislike the idea of these separate tools being blended like this. ty is currently perfectly usable on non-uv projects. uv has *a lot* of opinionated quirks, its custom lockfile lockfile, and other nuances which many of us dislike — ty being a separate tool works fine with plain pip plus any other dependency manager (e.g.: pip-tools).

Of note though, ty doesn't NEED to be integrated into uv, nor vice-versa; keeping them as standalone tools seems most natural.

▲satvikpendem 5 hours ago | parent | next [-]

A implies B does not mean B implies A too. You can use ty separately, this isn't stopping that, but it is useful for uv check to use ty together.

▲ 2 hours ago | parent [-]
[deleted]
▲vovavili 5 hours ago | parent | prev | next [-]

Projects that use ty for its type checking but something else than uv for managing dependencies are probably in a very tiny minority of users.

▲jgalt212 4 hours ago | parent [-]

but there's probably lots of projects that use uv, but not ty.

▲vovavili an hour ago | parent [-]

I'd imagine that, for a substantial percentage of these, part of it is to avoid negotiating and bargaining over an additional tool in your CI arsenal, especially in bigger corporate environments where these sort of conversations are dragged through layers of non-technical middle management.

▲hmartin 2 hours ago | parent | prev [-]

Thank god it has opinionated quirks that old timers dislike.

Otherwise we'd still be stuck in the complete dumpster fire that was the python packaging/venv we had for the previous 20 years.

▲otherme123 37 minutes ago | parent | next [-]

Old timer here: uv is not the first opinionated tool to manage Python packaging. It is build learning from other tools right and wrongs. I now use uv for everything because its quirks are less disruptive than quirks from previous tools that I also tried and disliked for being a bit too much for a very small gain.

What you call "dumpster fire", I call "steps towards uv", maybe even better tools in the future.

▲rcleveng 2 hours ago | parent | prev [-]

True, before UV the only way to package python was a container.