a1610c794e
Closes https://github.com/astral-sh/uv/issues/13471 Refactors the logic there a bit too. --------- Co-authored-by: Aria Desires <aria.desires@gmail.com>