aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorAaron U'Ren <aauren@users.noreply.github.com>2026-05-07 12:31:01 -0500
committerGitHub <noreply@github.com>2026-05-07 17:31:01 +0000
commite54f5bf5f12c560da31c17eee5b3e1bd369f3ff9 (patch)
treef7b4e188c82c5411c241ccf97ef71b4b25ae3f59 /lua
parentfix(spawn): handle cases where PATH env on Windows is not set (#2080) (diff)
downloadmason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.tar
mason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.tar.gz
mason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.tar.bz2
mason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.tar.lz
mason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.tar.xz
mason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.tar.zst
mason-e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9.zip
fix(pypi): add python 3.13 and 3.14 to list of fallbacks (#2081)HEADmain
Diffstat (limited to 'lua')
-rw-r--r--lua/mason-core/installer/managers/pypi.lua15
1 files changed, 9 insertions, 6 deletions
diff --git a/lua/mason-core/installer/managers/pypi.lua b/lua/mason-core/installer/managers/pypi.lua
index 72b1b503..9b39b0d6 100644
--- a/lua/mason-core/installer/managers/pypi.lua
+++ b/lua/mason-core/installer/managers/pypi.lua
@@ -66,13 +66,16 @@ local function get_versioned_candidates(supported_python_versions)
end
return Optional.of(executable)
end, {
- { semver.new "3.12.0", "python3.12" },
- { semver.new "3.11.0", "python3.11" },
- { semver.new "3.10.0", "python3.10" },
- { semver.new "3.9.0", "python3.9" },
- { semver.new "3.8.0", "python3.8" },
- { semver.new "3.7.0", "python3.7" },
+ -- IMPORTANT: should be in ASCENDING order
{ semver.new "3.6.0", "python3.6" },
+ { semver.new "3.7.0", "python3.7" },
+ { semver.new "3.8.0", "python3.8" },
+ { semver.new "3.9.0", "python3.9" },
+ { semver.new "3.10.0", "python3.10" },
+ { semver.new "3.11.0", "python3.11" },
+ { semver.new "3.12.0", "python3.12" },
+ { semver.new "3.13.0", "python3.13" },
+ { semver.new "3.14.0", "python3.14" },
})
end