Write our own minimum copy of npm in Python to remove dependency on Node.js during installation#129
Write our own minimum copy of npm in Python to remove dependency on Node.js during installation#129
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