From 3e93255ac9d8c1d4ebcae50ee68cae3994b6c53a Mon Sep 17 00:00:00 2001 From: konsti Date: Wed, 17 Jul 2024 17:54:21 +0200 Subject: [PATCH] Document that `--universal` implies `--no-strip-markers` (#5121) Prompted by https://github.com/python-trio/trio/pull/3032#discussion_r1679435422. --- crates/uv-cli/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 2ebcb4c8995b..4c28e2506d5f 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -700,10 +700,13 @@ pub struct PipCompileArgs { /// In universal mode, the current Python version (or user-provided `--python-version`) will be /// treated as a lower bound. For example, `--universal --python-version 3.7` would produce a /// universal resolution for Python 3.7 and later. + /// + /// Implies `--no-strip-markers`. #[arg( long, overrides_with("no_universal"), - conflicts_with("python_platform") + conflicts_with("python_platform"), + conflicts_with("strip_markers") )] pub universal: bool,