From 1ee17afd792e9263b349ef97a45b25ea8b66174c Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 7 Jan 2025 13:17:42 -0500 Subject: [PATCH] Avoid enforcing project-level required version for `uv self` (#10374) ## Summary Closes https://github.com/astral-sh/uv/issues/10355. --- crates/uv/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv/src/lib.rs b/crates/uv/src/lib.rs index 7381b9772..ca854b0ad 100644 --- a/crates/uv/src/lib.rs +++ b/crates/uv/src/lib.rs @@ -119,7 +119,7 @@ async fn run(mut cli: Cli) -> Result { Some(FilesystemOptions::from_file(config_file)?) } else if deprecated_isolated || cli.top_level.no_config { None - } else if matches!(&*cli.command, Commands::Tool(_)) { + } else if matches!(&*cli.command, Commands::Tool(_) | Commands::Self_(_)) { // For commands that operate at the user-level, ignore local configuration. FilesystemOptions::user()?.combine(FilesystemOptions::system()?) } else if let Ok(workspace) =