Skip to content

Commit

Permalink
Avoid enforcing project-level required version for uv self (#10374)
Browse files Browse the repository at this point in the history
## Summary

Closes #10355.
  • Loading branch information
charliermarsh authored Jan 7, 2025
1 parent 2ae0ed3 commit 1ee17af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/uv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async fn run(mut cli: Cli) -> Result<ExitStatus> {
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) =
Expand Down

0 comments on commit 1ee17af

Please sign in to comment.