From 4df9841345864be32aefec9fa9cfb044c11dcb0d Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 09:15:39 +0000 Subject: [PATCH] python: Fetch non pre-release versions of `ty` (#45080) (cherry-pick to preview) (#45082) Cherry-pick of #45080 to preview ---- 0.0.2 is not a pre-release artifact unlike the previous one, so our version fetch ignored it. Fixes https://github.com/zed-industries/zed/issues/45061 Release Notes: - N/A *or* Added/Fixed/Improved ... Co-authored-by: Lukas Wirth --- crates/languages/src/python.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/languages/src/python.rs b/crates/languages/src/python.rs index fbdeb59b7f15a22d4f4097a3b0e60b4aeb9bf202..b987d059ccaf53126e427a36c4f598817acd63de 100644 --- a/crates/languages/src/python.rs +++ b/crates/languages/src/python.rs @@ -280,7 +280,7 @@ impl LspInstaller for TyLspAdapter { _: &mut AsyncApp, ) -> Result { let release = - latest_github_release("astral-sh/ty", true, true, delegate.http_client()).await?; + latest_github_release("astral-sh/ty", true, false, delegate.http_client()).await?; let (_, asset_name) = Self::build_asset_name()?; let asset = release .assets