astral-sh/uv

Allow `--isolated` with script execution

Open

#15,919 建立於 2025年9月17日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Rust (3,111 fork)batch import
enhancementgood first issue

倉庫指標

Star
 (84,934 star)
PR 合併指標
 (平均合併 7天 16小時) (30 天內合併 259 個 PR)

描述

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

貢獻者指南