Skip to content

Commit 54e4e79

Browse files
committed
refactor: set min version for Python
1 parent 8730ec7 commit 54e4e79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lua/CopilotChat/health.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ function M.check()
3838
end
3939

4040
local major, minor = string.match(python_version, 'Python (%d+)%.(%d+)')
41-
if not (major and minor and tonumber(major) >= 3 and tonumber(minor) >= 7) then
42-
warn('Python version 3.7 or higher is required')
41+
if not (major and minor and tonumber(major) >= 3 and tonumber(minor) >= 10) then
42+
warn('Python version 3.10 or higher is required')
4343
else
4444
ok('Python version ' .. major .. '.' .. minor .. ' is supported')
4545
end

0 commit comments

Comments
 (0)