Uh oh!
There was an error while loading. Please reload this page.
tools: update gyp to 0.5.0 - #32698
Conversation
aduh95
commented
Apr 7, 2020
Is there a release note for gyp 0.2.0 available somewhere? |
ryzokuken
commented
Apr 7, 2020
@aduh95 we're working on adding a changelog to gyp-extra in nodejs/gyp-next#27. Also, it's hard to add notes for v0.2.0 since it's the first real release of gyp-next and a large percentage of development was done inside this tree, so the history is fragmented. That said, it'll be much better moving forwards, I'd say. |
mmarchini
commented
Apr 7, 2020
Nice work! @ryzokuken since a full changelog is probably unfeasible, are there any notable changes you'd like to share? |
targos
commented
Apr 7, 2020
The only changes between the current code in node-gyp are related to CI, governance and code style (linter). |
gengjiawen
commented
Apr 8, 2020
windows failed with: [vcvarsall.bat] Environment initialized for: 'x64'Found MSVS version 16.0configure --dest-cpu=x64Node.js configure: Found Python 3.8.2...Traceback (most recent call last): File "configure", line 24, in <module> import configure File "D:\a\node\node\configure.py", line 1811, in <module> run_gyp(gyp_args) File "tools\gyp_node.py", line 54, in run_gyp rc = gyp.main(args) File "tools\gyp\pylib\gyp\__init__.py", line 679, in main return gyp_main(args) File "tools\gyp\pylib\gyp\__init__.py", line 664, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File "tools\gyp\pylib\gyp\generator\msvs.py", line 2196, in GenerateOutput sln = MSVSNew.MSVSSolution( File "tools\gyp\pylib\gyp\MSVSNew.py", line 231, in __init__ self.Write() File "tools\gyp\pylib\gyp\MSVSNew.py", line 259, in Write f.write( File "tools\gyp\pylib\gyp\common.py", line 419, in write self.tmp_file.write(s.encode("utf-8"))TypeError: write() argument must be str, not byte |
There was a problem hiding this comment.
Here we are opening in wb mode...
There was a problem hiding this comment.
... and here we are opening in w mode.
There was a problem hiding this comment.
Is it wrong?
It came from this upstream commit that was ported in nodejs/gyp-next#11
There was a problem hiding this comment.
I am unsure but it would explain the TypeError: write() argument must be str, not byte above.
There was a problem hiding this comment.
@cclauss@targos@gengjiawen could someone point me to the smallest configuration that causes gyp to fail? We could simply add a failing test and patch the relevant line highlighted by @cclauss.
There was a problem hiding this comment.
Looks like gyp-next has not been add windows to CI, we can make this as a start ?
There was a problem hiding this comment.
@gengjiawen indeed, it has been blocked on the test failures in nodejs/gyp-next#8. I'll try to get it resolved ASAP.
BridgeAR
commented
May 25, 2020
@ryzokuken this needs a rebase and is this otherwise ready to review again? |
ryzokuken
commented
May 25, 2020
@BridgeAR yeah, I need to make a couple of changes. Sorry for being tardy, I'll find some time to do it later this week. Thanks. |
8ae28ff to
2935f72Comparetargos
commented
Jun 15, 2020
@ryzokuken would you like to update this to v0.3.0? Otherwise I can do it. |
ryzokuken
commented
Jun 15, 2020
@targos sure. |
ryzokuken
commented
Jul 15, 2020
@targos PTAL. |
targos
commented
Jul 15, 2020
there's a conflict |
ryzokuken
commented
Jul 15, 2020
ugh, why did someone push code to a dependency? Let me take a look :/ |
gengjiawen
commented
Jul 15, 2020
Most likely #32867. |
ryzokuken
commented
Jul 15, 2020
ryzokuken
commented
Jul 15, 2020
also, I fixed the merge conflicts locally, but I'm not sure how to proceed with this. Should I upstream these changes to gyp-next, make a new release and update this PR? |
gengjiawen
commented
Jul 15, 2020
+1 on make a new release. |
nodejs-github-bot
commented
Oct 4, 2020
ryzokuken
commented
Oct 4, 2020
CI passed! Landing this. |
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Landed in b79829c...f215a4d 🎉 |
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: #32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
PR-URL: nodejs#32698 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes🎉
/cc @targos@cclauss @nodejs/gyp
Thanks for all the lovely work so far, everyone ❤️