mattn / vim-lsp-settings

Auto configurations for Language Server for vim-lsp
MIT License
1.26k stars 225 forks source link

Fix: Python version check for pip (in Python 3.12 or later, removed distutils) #713

Closed tsuyoshicho closed 6 months ago

tsuyoshicho commented 6 months ago

Background

Python 3.12 or later, distutils has been removed. See: https://docs.python.org/3/whatsnew/3.12.html

So the previous version check code will fail.

Changes

Change this to a simple check and fix it. (Currently, the use of Python 2 is declining, so I thought this was a good idea.)

mattn commented 6 months ago

Thank you