astral-sh/uv

Ensure all tests which install managed Python versions use the cache

Open

Aperta il 13 nov 2025

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Rust (84.934 star) (3111 fork)batch import
help wantedinternaltesting

Descrizione

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?

Guida contributor