-
Notifications
You must be signed in to change notification settings - Fork 40
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
Write our own minimum copy of npm in Python to remove dependency on Node.js during installation #129
base: main
Are you sure you want to change the base?
Conversation
There must be a simpler way to handle the error condition of npm not existing than to write and ship a replacement package manager. How about If we were to ship this, it would need to
That last two are why I don't want to ship packages with the wheel. Besides shipping cool software, I need to protect the company from ever being associated with a security problem, eg. getting mentioned in a CVE vulnerability report. This could seriously harm our ability to carry out our core business in the future. Some day, I would like to have enough node-compatibility capability to actually run npm via pythonmonkey. We could maybe use pmpm to install npm as a special bootstrap case, since it has no dependencies. But we are quite a ways off from this, and we really need to focus on getting dcp-client running in web-compatibility mode before that. |
This MR is set to draft and will not be revisited until later - see comment here: #129 (comment) |
I've made the CI green, so that we could easily continue the work later. |
closes #116