From d47cf100426b4aa030fa9a2f2f05276890f53b38 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 24 Nov 2024 20:18:27 -0500 Subject: [PATCH] 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. --- crates/uv-cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index a6f67b1f9..06b5dff9f 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -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.