astral-sh/uv

Ensure all tests which install managed Python versions use the cache

Aberta

#16.721 aberto em 13 de nov. de 2025

 (2 comentários) (0 reação) (0 responsável)Rust (3.111 forks)batch import
help wantedinternaltesting

Métricas do repositório

Stars
 (84.934 estrelas)
Métricas de merge de PR
 (Mesclagem média 7d 16h) (259 fundiu PRs em 30d)

Description

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?

Guia do colaborador