aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorv1nh1shungry <v1nh1shungry@outlook.com>2025-03-28 19:49:10 +0800
committerGitHub <noreply@github.com>2025-03-28 04:49:10 -0700
commitade58885c478a46c1299f23f17a5c40e2960b6ad (patch)
treece761d54eb230077cd1cb9ab8f4f542a00637602
parent75cbd9a8aeb2fb0f7efb5fca6a2d42097810a95e (diff)
downloadrneovim-ade58885c478a46c1299f23f17a5c40e2960b6ad.tar.gz
rneovim-ade58885c478a46c1299f23f17a5c40e2960b6ad.tar.bz2
rneovim-ade58885c478a46c1299f23f17a5c40e2960b6ad.zip
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.
-rw-r--r--runtime/doc/provider.txt2
-rw-r--r--runtime/lua/vim/provider/python.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt
index 7d9764d7d5..7a4cc0ee7d 100644
--- 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
index 48f08302f9..a772b36973 100644
--- 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?