diff options
| author | Aaron U'Ren <aauren@users.noreply.github.com> | 2026-05-07 12:31:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-07 17:31:01 +0000 |
| commit | e54f5bf5f12c560da31c17eee5b3e1bd369f3ff9 (patch) | |
| tree | f7b4e188c82c5411c241ccf97ef71b4b25ae3f59 /lua | |
| parent | fix(spawn): handle cases where PATH env on Windows is not set (#2080) (diff) | |
| download | mason-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 | |
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/mason-core/installer/managers/pypi.lua | 15 |
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 |
