uv/docs/concepts
konsti 62bf92132b
Add a 5 min default timeout for deadlocks (#16342)
When a process is running and another calls `uv cache clean` or `uv
cache prune` we currently deadlock - sometimes until the CI timeout
(https://github.com/astral-sh/setup-uv/issues/588). To avoid this, we
add a default 5 min timeout waiting for a lock. 5 min balances allowing
in-progress builds to finish, especially with larger native
dependencies, while also giving timely errors for deadlocks on (remote)
systems.

Commit 1 is a refactoring.

This branch also fixes a problem with the logging where acquired and
released resources currently mismatch:

```
DEBUG Acquired lock for `https://github.com/tqdm/tqdm`
DEBUG Using existing Git source `https://github.com/tqdm/tqdm`
DEBUG Released lock at `C:\Users\Konsti\AppData\Local\uv\cache\git-v0\locks\16bb813afef8edd2`
```
2025-12-04 14:59:04 +01:00
..
authentication Allow providing the `uv auth login` password or token via stdin (#15642) 2025-09-02 16:59:58 -05:00
projects Bump version to 0.9.15 (#16942) 2025-12-02 17:48:28 -06:00
build-backend.md Bump version to 0.9.15 (#16942) 2025-12-02 17:48:28 -06:00
cache.md Add a 5 min default timeout for deadlocks (#16342) 2025-12-04 14:59:04 +01:00
configuration-files.md Add a "storage" reference document (#15954) 2025-11-17 09:38:14 -05:00
index.md Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
indexes.md Split the "Authentication" page into sections (#15575) 2025-08-28 15:45:31 -05:00
preview.md Add `uv workspace list` to list workspace members (#16691) 2025-11-17 09:35:50 -06:00
python-versions.md Document the new behavior for free-threaded python versions (#16781) 2025-11-20 08:58:49 -06:00
resolution.md Add `package` level conflicts to the conflicting dependencies docs (#15963) 2025-09-22 09:07:07 -05:00
tools.md Move the "Export" guide to the projects concept section (#16835) 2025-11-24 10:39:52 -06:00