diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 5156c056f..7fde3db4a 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -18,7 +18,5 @@ - - - + \ No newline at end of file diff --git a/src/cmd.rs b/src/cmd.rs index 88bd4b3df..ac64c61f4 100644 --- a/src/cmd.rs +++ b/src/cmd.rs @@ -111,6 +111,8 @@ where U: IntoIterator, U::Item: Into, { + // TODO: move this into a generic forge method/macro (#2125) + // TODO: fetch transitive dependencies like pipx -> python let config = Config::get(); let dependencies = forge .get_dependencies(&ToolRequest::System(forge.name().into()))? diff --git a/src/forge/pipx.rs b/src/forge/pipx.rs index a56bd85ed..7e2fd68a3 100644 --- a/src/forge/pipx.rs +++ b/src/forge/pipx.rs @@ -27,7 +27,7 @@ impl Forge for PIPXForge { } fn get_dependencies(&self, _tvr: &ToolRequest) -> eyre::Result> { - Ok(vec!["pipx".into()]) + Ok(vec!["pipx".into(), "python".into()]) } /* diff --git a/src/toolset/mod.rs b/src/toolset/mod.rs index 7de123181..d12c034fe 100644 --- a/src/toolset/mod.rs +++ b/src/toolset/mod.rs @@ -160,6 +160,7 @@ impl Toolset { debug!("installing {} leaf tools first", leaf_deps.len()); self.install_versions(config, leaf_deps.into_iter().cloned().collect(), mpr, opts)?; } + debug!("install_versions: {}", versions.iter().join(" ")); let settings = Settings::try_get()?; let queue: Vec<_> = versions .into_iter()