-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
EDIT: This issue was closed via nodejs/gyp-next#214 which is available in node-gyp v10+.
- chore (main): vendor in Python packaging for Py3.12 gyp-next#214 -->
- feat(gyp): update gyp to v0.16.1 #2923
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:
node-gyp/gyp/pylib/gyp/input.py
Line 19 in 33391db
| from distutils.version import StrictVersion |
node-gyp/gyp/pylib/gyp/input.py
Line 1186 in 33391db
| env = {"__builtins__": {}, "v": StrictVersion} |
As discussed in https://stackoverflow.com/questions/11887762, we should replace distutils.version.StrictVersion with packaging.version.parse.
nikolay, bryan-hoang, jurijsk, RobbyCBennett, Phoenix-Alpha and 20 more
Metadata
Metadata
Assignees
Labels
No labels