Remove VIRTUAL_ENV from project commmands by default (#6976)
And use test context helpers for commands consistently. Needed for https://github.com/astral-sh/uv/pull/6864
This commit is contained in:
@@ -30,7 +30,7 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
|
||||
.arg(packse_index_url())
|
||||
.arg("--find-links")
|
||||
.arg(build_vendor_links_url());
|
||||
context.add_shared_args(&mut command);
|
||||
context.add_shared_args(&mut command, true);
|
||||
command.env_remove("UV_EXCLUDE_NEWER");
|
||||
command.env("UV_TEST_PYTHON_PATH", python_path);
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ fn command(context: &TestContext) -> Command {
|
||||
.arg(packse_index_url())
|
||||
.arg("--find-links")
|
||||
.arg(build_vendor_links_url());
|
||||
context.add_shared_args(&mut command);
|
||||
context.add_shared_args(&mut command, true);
|
||||
command.env_remove("UV_EXCLUDE_NEWER");
|
||||
command
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user