commit ade58885c478a46c1299f23f17a5c40e2960b6ad
parent 75cbd9a8aeb2fb0f7efb5fca6a2d42097810a95e
Author: v1nh1shungry <v1nh1shungry@outlook.com>
Date: Fri, 28 Mar 2025 19:49:10 +0800
fix(provider)!: drop Python 3.7, 3.8 support #33088
Problem: #33022 didn't update `min_version` to 3.9, therefore Python 3.7
and 3.8 are still available.
Solution: Update `min_version` to 3.9.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt
@@ -35,7 +35,7 @@ if you already have it (some package managers install the module with Nvim
itself).
For Python 3 plugins:
-1. Make sure Python 3.4+ is available in your $PATH.
+1. Make sure Python 3.9+ is available in your $PATH.
2. Install the module (try "python" if "python3" is missing): >bash
python3 -m pip install --user --upgrade pynvim
diff --git a/runtime/lua/vim/provider/python.lua b/runtime/lua/vim/provider/python.lua
@@ -1,5 +1,5 @@
local M = {}
-local min_version = '3.7'
+local min_version = '3.9'
local s_err ---@type string?
local s_host ---@type string?