mirror of
https://github.com/astral-sh/uv
synced 2026-01-20 21:10:10 -05:00
Rename PUFFIN environment variables to UV (#1319)
A couple of these are actually user-facing although undocumented
This commit is contained in:
@@ -31,8 +31,8 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
|
||||
.arg("--cache-dir")
|
||||
.arg(context.cache_dir.path())
|
||||
.env("VIRTUAL_ENV", context.venv.as_os_str())
|
||||
.env("PUFFIN_NO_WRAP", "1")
|
||||
.env("PUFFIN_TEST_PYTHON_PATH", bin)
|
||||
.env("UV_NO_WRAP", "1")
|
||||
.env("UV_TEST_PYTHON_PATH", bin)
|
||||
.current_dir(&context.temp_dir);
|
||||
command
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ fn command(context: &TestContext) -> Command {
|
||||
.arg("--cache-dir")
|
||||
.arg(context.cache_dir.path())
|
||||
.env("VIRTUAL_ENV", context.venv.as_os_str())
|
||||
.env("PUFFIN_NO_WRAP", "1")
|
||||
.env("UV_NO_WRAP", "1")
|
||||
.current_dir(&context.temp_dir);
|
||||
command
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ Usage:
|
||||
|
||||
Override the default PyPI index for uv and update the scenarios
|
||||
|
||||
$ PUFFIN_INDEX_URL="http://localhost:3141/packages/all/+simple" ./scripts/scenarios/update.py
|
||||
$ UV_INDEX_URL="http://localhost:3141/packages/all/+simple" ./scripts/scenarios/update.py
|
||||
|
||||
Requirements:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user