From 717799e9034037bcb77368d63abeae71914b6cef Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 17 Jun 2024 11:21:57 -0500 Subject: [PATCH] Update external management with `main` --- crates/uv-toolchain/src/managed.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/uv-toolchain/src/managed.rs b/crates/uv-toolchain/src/managed.rs index 2c64fb199165..3a8bebba0594 100644 --- a/crates/uv-toolchain/src/managed.rs +++ b/crates/uv-toolchain/src/managed.rs @@ -283,7 +283,8 @@ impl InstalledToolchain { .path .join("install") .join(lib) - .join(format!("python{}", self.python_version.python_version())) + // Note the Python version must not include the patch. + .join(format!("python{}", self.key.version().python_version())) .join("EXTERNALLY-MANAGED"); fs_err::write(file, EXTERNALLY_MANAGED)?; Ok(())