distutils is deprecated with removal planned for Python 3.12. See the What’s New entry for more information.
Our only current use of Python distutils is at:
|
from distutils.version import StrictVersion |
|
env = {"__builtins__": {}, "v": StrictVersion} |
As discussed in https://stackoverflow.com/questions/11887762, we should replace distutils.version.StrictVersion with packaging.version.parse.
EDIT: This issue was closed via nodejs/gyp-next#214 which is available in node-gyp v10+.
distutils is deprecated with removal planned for Python 3.12. See the What’s New entry for more information.
Our only current use of Python
distutilsis at:node-gyp/gyp/pylib/gyp/input.py
Line 19 in 33391db
node-gyp/gyp/pylib/gyp/input.py
Line 1186 in 33391db
As discussed in https://stackoverflow.com/questions/11887762, we should replace
distutils.version.StrictVersionwithpackaging.version.parse.