-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
distutils package deprecation warning in configure.py #42186
Comments
I think we have at least 18 months before Python 3.12 is released. |
For reference: Line 17 in d50efc6
PEP 632 suggests to use gyp-next will also be affected: https://github.com/nodejs/gyp-next/blob/35305d66b4f377e0f00e52d0426164a592779f17/pylib/gyp/input.py#L19 node/tools/gyp/pylib/gyp/input.py Line 19 in d50efc6
|
node-gyp has same issue here (nodejs/node-gyp#2869) so the solution is probably to use same solution. BTW, this is already causing build failures for Fedora Rawhide |
Yes. The code in question is vendored in from Node-gyp. |
D:\Git\nodejs\node\configure.py:17: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
@nodejs/python
The text was updated successfully, but these errors were encountered: