From c4873bf8dc2579beb55601332b2ffb4442044823 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 9be710c40d3812d04a8605c95f0056812ded2f9f..3e9e954e1fc9df67675d3f64207272957758f337 100644 --- a/crates/languages/src/python.rs +++ b/crates/languages/src/python.rs @@ -106,13 +106,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"; }