GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Release proposal: v5.0.4 by rvagg · Pull Request #1893 · nodejs/node-gyp Conversation
Member
This is the same as the #1892 but without the lone apparent semver-major: #1818. See thread in #1791 (comment) for more discussion on this approach. Will take advice on what else this needs, I don't have any strong opinions other than "let's get this stuff out".
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsAdded "#pragma unmanaged" in win_delay_load_hook.cc to support clr PR-URL: #1819 Reviewed-By: João Reis <[email protected]> Make Python 3 compatiblity changes so the code works in both Python 2 and Python 3. Especially, make changes required because the compiler module was removed in Python 3 in favor of the ast module that exists in both Python 2 and Python 3. PR-URL: #1820 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Richard Lau <[email protected]> This change supports access to StringIO on both Python 2 and Python 3 PR-URL: #1836 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: João Reis <[email protected]> Refs: #1846 PR-URL: #1843 Reviewed-By: João Reis <[email protected]> Fixes: #1826 PR-URL: #1843 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Matt Cowley <[email protected]> Reviewed-By: Richard Lau <[email protected]> PR-URL: #1843 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Matt Cowley <[email protected]> Reviewed-By: Richard Lau <[email protected]> Fixes: #1782 PR-URL: #1817 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> Used scoped disabling of managed code handling to ensure no other files get affected. PR-URL: #1852 Reviewed-By: João Reis <[email protected]> PR-URL: #1860 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> PR-URL: #1853 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> PR-URL: #1858 Reviewed-By: Christian Clauss <[email protected]> Reviewed-By: Rod Vagg <[email protected]> (accepted with minor modifications by rvagg) PR-URL: #1802 Reviewed-By: Rod Vagg <[email protected]> PR-URL: #1863 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Richard Lau <[email protected]> PR-URL: #1888 Reviewed-By: Rod Vagg <[email protected]> Fixes: #1887 PR-URL: #1889 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Richard Lau <[email protected]> PR-URL: #1884 Reviewed-By: Rod Vagg <[email protected]> PR-URL: #1890 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
cclauss
requested changes
|
| before_install: nvm install 12 | ||
| - name: "Python 3.7 on macOS" | ||
| os: osx | ||
| #osx_image: xcode11 |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This # should be removed so that we use Py37 instead of Py36.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| stdout=subprocess.PIPE, | ||
| stderr=subprocess.STDOUT) | ||
| stdout,stderr = out.communicate() | ||
| return "CYGWIN" in str(stdout) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Insert the if PY3: stdout = stdout.decode("utf-8") code from #1890.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| stdout=subprocess.PIPE, | ||
| stderr=subprocess.STDOUT) | ||
| stdout,stderr = out.communicate() | ||
| return str(stdout) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Insert the if PY3: stdout = stdout.decode("utf-8") code from #1890.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| stdout=subprocess.PIPE, | ||
| stderr=subprocess.STDOUT) | ||
| stdout,stderr = out.communicate() | ||
| return "CYGWIN" in str(stdout) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Insert the if PY3: stdout = stdout.decode("utf-8") code from #1890.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
hm, I'm not sure why this isn't showing properly, I've only removed that one commit which makes this the only meaningful diff when doing a diff --git a/lib/find-python.js b/lib/find-python.js index 30bb25f..1a4390d 100644 --- a/lib/find-python.js +++ b/lib/find-python.js @@ -19,7 +19,7 @@ PythonFinder.prototype = { argsExecutable: [ '-c', 'import sys; print(sys.executable);' ], argsVersion: [ '-c', 'import sys; print("%s.%s.%s" % sys.version_info[:3]);' ], semverRange: process.env.EXPERIMENTAL_NODE_GYP_PYTHON3 ? '2.7.x || >=3.5.0' - : '>=2.7.0 <3.0.0', + : '>=2.6.0 <3.0.0', // These can be overridden for testing: execFile: cp.execFile, The "files changed" isn't correct, at least according to my diff. I suppose it's because this PR is adding one HEAD commit (changelog and version bump) but removing a commit way back in history, and for some reason it's getting confused? @cclauss the changes you're commenting on are on master so maybe they need a PR to address them? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@rvagg This LGTM. @cclauss's comments are addressed in #1894 -- could you land that, and then cherry-pick it into 5.x? That will fix the known py3 issues (and as for unknown issues, we don't know :-). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #1894 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
|
done, I suppose I'll push this out then! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…1000" Ref: nodejs/node-addon-api#445 (comment) PR-URL: #1895 Reviewed-By: Rod Vagg <[email protected]>
|
Included #1895 too and published as v5.0.4. Closing this PR but this branch, v5.x, will live on as our branch to maintain the v5.x series while we also move on to 6.0.0. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.