astral-sh/uv

Allow `--isolated` with script execution

Aberta

#15.919 aberto em 17 de set. de 2025

 (2 comentários) (0 reação) (0 responsável)Rust (3.111 forks)batch import
enhancementgood first issue

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

Right now, we ignore the flag and display a warning

❯ uv run --isolated --script example.py
warning: `--isolated` is a no-op for Python scripts with inline metadata, which always run in isolation

but now that we changed scripts to use a stable path, we should allow --isolated to opt-out of that, e.g., for people in situations like https://github.com/astral-sh/uv/issues/15918

Guia do colaborador