Add uv python pin --rm to remove .python-version pins (#13860)

I realized it is non-trivial to delete the global Python version pin,
and that we were missing this simple functionality
This commit is contained in:
Zanie Blue
2025-06-05 12:05:42 -05:00
committed by GitHub
parent 789a246cf3
commit 062b6ab743
6 changed files with 85 additions and 0 deletions
+4
View File
@@ -5032,6 +5032,10 @@ pub struct PythonPinArgs {
/// directory, this version will be used instead.
#[arg(long)]
pub global: bool,
/// Remove the Python version pin.
#[arg(long, conflicts_with = "request", conflicts_with = "resolved")]
pub rm: bool,
}
#[derive(Args)]