build,tools: Python3 compatibility and refactoring#26725
build,tools: Python3 compatibility and refactoring#26725refack wants to merge 2 commits intonodejs:masterfrom
Conversation
|
/CC @nodejs/python @nodejs/build-files Still has a few bugs. But still PTAL. |
b7a3e11 to
36f93f6
Compare
1fcf092 to
aa3826a
Compare
|
Ping @nodejs/python |
targos
left a comment
There was a problem hiding this comment.
Is the new and empty tools/configure_lib/__init__.py necessary?
tools/configure_lib/nodedownload.py
Outdated
It's a python thing (it tells the runtime that that directory is a "package") that enables doing: Lines 30 to 32 in 2fa8dc4 (which is not cricket) |
configure.py
Outdated
There was a problem hiding this comment.
This is not necessary for Python 3 compatibility I believe. Can you explain why this is introduced?
configure.py
Outdated
There was a problem hiding this comment.
Nit: There are a few lines which cross the 80 characters limit.
|
I feel that the refactoring can be done in a separate PR. Not introducing any new additional code would be easy for us to debug problems. |
aa3826a to
9a8292e
Compare
targos
left a comment
There was a problem hiding this comment.
LGTM with nits fixed and green CI
|
/cc @cclauss |
|
My vote would be that we close this. We have touched these files in the interim and most of these changes have been done. Is there anything remaining that we should consider? |
Refs: nodejs#26725 Fixes: nodejs#29813 Refs: nodejs#29814 PR-URL: nodejs#35755 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Christian Clauss <cclauss@me.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes