-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Convert to Python 3 #737
Comments
I would love to help with Python-3 compatibility, if decided to do so. |
Yeah, maybe a good idea, would make life easier for a lot of people. I have prior-art for switching based on Python versions, my main concern here is that since we'd be using a fork for people that have v3 installed there would be disparity between the code being executed, not just the runtime used (unless the v3 fork of gyp can be used with v2?). The alternative path is a wholesale upgrade, including Node core, and moving to v3 being required, but that would be really painful and we may face bigger barriers getting a gyp fork into core. |
lack of python3 is a huge pain, and only going to get worse as distros like Fedora and Ubuntu default to python3. What needs to happen for this to happen? |
Upstream gyp would have to convert to python 3, which is unlikely to happen if this 6 year old bug report is anything to go by: https://bugs.chromium.org/p/gyp/issues/detail?id=36 I'll close the issue, it's a duplicate of #193. |
For posterity, I think this is a good idea in general but the devil is in the details. gyp files have a lot of python code in them that is executed verbatim (as python 2 code obviously.) EDIT:
This has been discussed before but it's not something I'm really in favor of as long as gyp is still supported upstream. |
Yikes! This was a shocker. I'd expect this back in 2012, but not on the tail end of 2015.
Proposed paths:
Why?
node-gyp
That Legacy Project We Have To SupportThe text was updated successfully, but these errors were encountered: