-
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
feat(gyp): update gyp to v0.16.1 #2909
Conversation
@cclauss one issue I have with this PR is that the Python portion of node-gyp actually requires a package now. I'm wondering whether we could change the install script to set up the Python package for the user, or will users have to install the required Python packages themselves? I'll also have to take a look at the VS tests tomorrow. |
We vendor in this code into the node-gyp repo so that users do need to pip install it. We post gyp-next to PyPI but statistics show that this is not how most users access it. I do not see how anything in this release changes that vendoring process. |
Do the 2016 and 2019 Visual Studio tests still make sense? The failing tests also emit the following output:
Edit: when node-gyp actually picks up the msvs-version it gives the following error
So I think the 2016 and 2019 tests can be removed. |
You are saying that this environment variable trick no longer works?
|
I think that the trick works, but that node-gyp doesn't listen to it. |
% npm recently got rid of lots of config options including |
Does setting the environment variables |
Edit: It turns out the Python tests still need the GYP environment variables. |
Reviewing what was said about requiring external packages, vs vendoring (click to expand):
This refers to the
This refers to ... Just to clarify, there is a new requirement (a Python package called I don't think How to vendor a python dependency, per StackOverflow: https://stackoverflow.com/a/65470764 |
Is |
@cclauss |
I think this PR is obsolete and can be superseded by a bump directly to gyp-next 0.16.0. If someone who actually worked hard on these changes in gyp-next wants to open a PR bumping straight to gyp-next 0.16.0, I'll let you do that. Since it will show the commits here with the author as whoever performs the gyp-next bump. Otherwise, I would want to open such a PR bumping straight to gyp-next 0.16.0 myself soon. Thanks for the hard work on this, folks! It will be both exciting and a relief to have node-gyp working on Python 3.12. EDIT: On closer look, there's more work here than just a |
@DeeDeeG go ahead with the bump to v0.16.0 |
Where are we at on this? Let's try to get Py3.12 compatibility into @lukekarrys imminent releases. #2860 (comment)
|
There will be an automated release PR for |
I forgot to update my status. |
Closing in favour of #2923 because it has a better description |
Checklist
npm install && npm test
passesDescription of change