astral-sh/uv

Ensure all tests which install managed Python versions use the cache

Offen

#16.721 geöffnet am 13.11.2025

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (3.111 Forks)batch import
help wantedinternaltesting

Repository-Metriken

Stars
 (84.934 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 7T 16h) (259 gemergte PRs in 30 T)

Beschreibung

We have TestContext::with_python_download_cache which improves the performance of tests which download a managed Python version, but I'm not sure we use it everywhere. There are only a couple cases where we explicitly don't want to use this. Maybe we should have with_managed_python_dirs turn this on and have without_python_download_cache instead for the opt-out cases?

Contributor Guide