diff --git a/crates/uv/src/commands/pip/compile.rs b/crates/uv/src/commands/pip/compile.rs index ffb0066d8e8e..e667bdde60f1 100644 --- a/crates/uv/src/commands/pip/compile.rs +++ b/crates/uv/src/commands/pip/compile.rs @@ -637,6 +637,18 @@ fn cmd( return Some(None); } + // Always skip the `--no-progress` flag. + if arg == "--no-progress" { + *skip_next = None; + return Some(None); + } + + // Always skip the `--native-tls` flag. + if arg == "--native-tls" { + *skip_next = None; + return Some(None); + } + // Return the argument. Some(Some(arg)) })