mirror of
https://github.com/astral-sh/uv.git
synced 2025-12-04 00:54:42 +00:00
Deprecate the --isolated flag (#5466)
## Summary This PR deprecates the `--isolated` flag. The treatment varies across the APIs: - For non-preview APIs, we warn but treat it as equivalent to `--no-config`. - For preview APIs, we warn and ignore it, with two exceptions... - For `tool run` and `run` specifically, we don't even warn, because we can't differentiate the command-specific `--isolated` from the global `--isolated`.
This commit is contained in:
parent
f971631adf
commit
5d727cb0af
15 changed files with 69 additions and 71 deletions
|
|
@ -11,7 +11,7 @@ Generates the `download-metadata.json` file.
|
|||
|
||||
Usage:
|
||||
|
||||
uv run --isolated -- crates/uv-python/fetch-download-metadata.py
|
||||
uv run -- crates/uv-python/fetch-download-metadata.py
|
||||
|
||||
Acknowledgements:
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Generates the `downloads.inc` file from the `downloads.inc.mustache` template.
|
|||
|
||||
Usage:
|
||||
|
||||
uv run --isolated -- crates/uv-python/template-download-metadata.py
|
||||
uv run -- crates/uv-python/template-download-metadata.py
|
||||
"""
|
||||
|
||||
import argparse
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue