mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 04:17:37 +00:00
Avoid enforcing project-level required version for uv self (#10374)
## Summary Closes https://github.com/astral-sh/uv/issues/10355.
This commit is contained in:
parent
2ae0ed3b35
commit
1ee17afd79
1 changed files with 1 additions and 1 deletions
|
|
@ -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) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue