Make uv run --no-sync still perform a lock - #19915
Conversation
|
I think we could technically skip the lock unless |
|
The assumption at
is generally correct but we determined it's wrong for In |
|
I think I'd weakly prefer consistency and path of least surprise here: if we update the lock, we should do so both with |
|
I worry about doing unnecessary work in a hot command like |
|
(we could also do this staged: if it's scoped to |
|
I meant to suggest: the bug would also be fixed if we would update the lock in-memory without writing it when |
This should hopefully be a straightforward port of #19909 to
uv run.Discussion needed on whether this is a breaking change or just a bug fix. The fact that this changes documented behaviour seems like a pretty straightforward break.