Skip to content

Conversation

@refack
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-botnodejs-github-bot added the build Issues and PRs related to build files or the CI. label Mar 18, 2019
@refackrefack added the python PRs and issues that require attention from people who are familiar with Python. label Mar 18, 2019
@refackrefack added this to the 12.0.0 milestone Mar 18, 2019
@refack
Copy link
ContributorAuthor

refack commented Mar 18, 2019

@refackrefack added the wip Issues and PRs that are still a work in progress. label Mar 18, 2019
@refackrefackforce-pushed the refacotr-configure-for-python3 branch 2 times, most recently from b7a3e11 to 36f93f6CompareMarch 18, 2019 01:47
@refackrefack self-assigned this Mar 19, 2019
@refackrefackforce-pushed the refacotr-configure-for-python3 branch 4 times, most recently from 1fcf092 to aa3826aCompareMarch 19, 2019 23:49
@targos
Copy link
Member

Ping @nodejs/python

Copy link
Member

@targostargos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the new and empty tools/configure_lib/__init__.py necessary?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URLopener seems unused

@refack
Copy link
ContributorAuthor

refack commented Mar 22, 2019

Is the new and empty tools/configure_lib/__init__.py necessary?

It's a python thing (it tells the runtime that that directory is a "package") that enables doing:
https://github.com/nodejs/node/blob/aa3826ae54ee2422ffc38ca1b94e8dea7f09de8c/configure.py#L25
instead of:

node/configure.py

Lines 30 to 32 in 2fa8dc4

# imports in tools/configure.d
sys.path.insert(0, os.path.join('tools', 'configure.d'))
importnodedownload

(which is not cricket)

configure.py Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not necessary for Python 3 compatibility I believe. Can you explain why this is introduced?

configure.py Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: There are a few lines which cross the 80 characters limit.

@thefourtheye
Copy link
Contributor

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.

@TrottTrott removed this from the 12.0.0 milestone Apr 29, 2019
@refackrefack removed the wip Issues and PRs that are still a work in progress. label May 6, 2019
@refackrefackforce-pushed the refacotr-configure-for-python3 branch from aa3826a to 9a8292eCompareMay 6, 2019 11:59
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@targostargos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nits fixed and green CI

@targos
Copy link
Member

/cc @cclauss

@cclauss
Copy link
Contributor

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?

@TrottTrott closed this Nov 3, 2019
Trott pushed a commit to RaisinTen/node that referenced this pull request Nov 12, 2020
Refs: nodejs#26725Fixes: nodejs#29813 Refs: nodejs#29814 PR-URL: nodejs#35755 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Christian Clauss <[email protected]>
codebytere pushed a commit that referenced this pull request Nov 22, 2020
Refs: #26725Fixes: #29813 Refs: #29814 PR-URL: #35755 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Christian Clauss <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buildIssues and PRs related to build files or the CI.pythonPRs and issues that require attention from people who are familiar with Python.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@refack@nodejs-github-bot@targos@thefourtheye@cclauss@Trott