Remove conflict between --no-sync and --frozen in uv run (#9400)
## Summary For reasons outlined in the linked issue, this is needlessly strict. Closes https://github.com/astral-sh/uv/issues/9397.
This commit is contained in:
@@ -2731,7 +2731,7 @@ pub struct RunArgs {
|
||||
///
|
||||
/// Implies `--frozen`, as the project dependencies will be ignored (i.e., the lockfile will not
|
||||
/// be updated, since the environment will not be synced regardless).
|
||||
#[arg(long, env = EnvVars::UV_NO_SYNC, value_parser = clap::builder::BoolishValueParser::new(), conflicts_with = "frozen")]
|
||||
#[arg(long, env = EnvVars::UV_NO_SYNC, value_parser = clap::builder::BoolishValueParser::new())]
|
||||
pub no_sync: bool,
|
||||
|
||||
/// Assert that the `uv.lock` will remain unchanged.
|
||||
|
||||
Reference in New Issue
Block a user