2.home-manager/tests
Peter Bittner 6eba758fee uv: prune Python versions and tools by diff
The prune option uninstalled all managed Python versions (and tools)
and reinstalled them on every activation, which is slow. Instead,
resolve each requested version to the install target uv would produce
and uninstall only the difference; already-correct versions are left
untouched. Resolving to the install target (not every installed match)
also prunes superseded patch releases, which uv retains on upgrade.

Tools are diffed by PEP 503-normalized package name: requested names
are extracted and normalized at build time, and the installed set is
read from uv's tool directory, whose entries are already normalized, so
no uv output is parsed. Pruning to an empty set still removes everything.
2026-06-26 20:08:04 -05:00
..
integration tests: fix integration tests 2026-06-20 00:05:51 +02:00
lib lib: add DAG-aware format generators 2026-06-18 07:59:18 -05:00
modules uv: prune Python versions and tools by diff 2026-06-26 20:08:04 -05:00
asserts.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
big-test.nix treewide: Prevent IFD by default 2025-05-07 10:34:18 -05:00
darwinScrublist.nix zsh: add 'fastSyntaxHighlighting' 2026-06-23 08:09:29 -05:00
default.nix misc: move modules spanning multiple files into subdirs 2026-06-19 08:59:16 -05:00
package.nix tests: support override-inputs in test runner 2026-04-24 13:06:58 -05:00
stubs.nix tests: split stub derivation attrs from methods 2026-04-23 18:12:20 -05:00
tests.py treefmt: format Python with ruff 2026-06-19 10:00:25 -05:00