From 6470443271a9f61ff90c2bd25dcc934a0f395d5c Mon Sep 17 00:00:00 2001 From: Derek Nguyen <79728577+derekntnguyen@users.noreply.github.com> Date: Thu, 25 Sep 2025 18:17:49 -0400 Subject: [PATCH] python: Fix ty archive extraction on Linux (#38917) Closes #38553 Release Notes: - Fixed wrong AssetKind specified on linux for ty As discussed in the linked issue. All of the non windows assets for ty are `tar.gz` files. This change applies that fix. --- crates/languages/src/python.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs index b7c37d19bd1d7caf9d81b4590be678cdfd69832a..a70137f3c2b1cc3fcfc8f5fbe98dd7aa52359a2a 100644 --- a/crates/languages/src/python.rs +++ b/crates/languages/src/python.rs @@ -107,13 +107,13 @@ impl TyLspAdapter { #[cfg(target_os = "linux")] impl TyLspAdapter { - const GITHUB_ASSET_KIND: AssetKind = AssetKind::Gz; + const GITHUB_ASSET_KIND: AssetKind = AssetKind::TarGz; const ARCH_SERVER_NAME: &str = "unknown-linux-gnu"; } #[cfg(target_os = "freebsd")] impl TyLspAdapter { - const GITHUB_ASSET_KIND: AssetKind = AssetKind::Gz; + const GITHUB_ASSET_KIND: AssetKind = AssetKind::TarGz; const ARCH_SERVER_NAME: &str = "unknown-freebsd"; }