-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange JS dependencies so we can build parseq-tracevis with Python…
… 3+ (#337) Pinning Python to 2.7 is not working anymore since GitHub dropped support for Python 2.7. We originally pinned it to avoid an issue where `node-gyp` fails when combined with Python 3.x during `npm install`. The reasons for this failure are: - `d3` depends either directly or transitively on `contextify`, a _really_ old library that needs native code from V8 to install. - `contextify` builds native code via `node-gyp`. - The version of `node-gyp` used does not play well with Python 3.x. A proper path forward would be to update and modernize the entire JavaScript stack used in `parseq-tracevis` -- which is a non-trivial amount of work. As a workaround, we can use a pre-built version of `d3`. A local copy of `d3` v3.x has been added to the local repository, and the dependency on `d3` has been removed from `package.json`. Doing this avoids the need for building native code, and thus the need for `node-gyp`. This allows us to build using Python 3.x because now there is no conflict.
- Loading branch information
1 parent
3e6e50b
commit 51ce337
Showing
6 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters