Skip to content
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

Force using latest node-gyp for nodegit, for Python 3 support #881

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

geofft
Copy link
Contributor

@geofft geofft commented Jan 23, 2023

The most recent stable release of nodegit still depends on node-gyp ^4,
which doesn't have Python 3 support. More recent versions support Python
3 and even drop Python 2. Until a non-alpha release of nodegit 0.28 is
out, we can just override the dependency resolution, which seems to work
fine. (Upstream nodegit did not make any interesting code changes when
upgrading their node-gyp dependency.)

The most recent stable release of nodegit still depends on node-gyp ^4,
which doesn't have Python 3 support. More recent versions support Python
3 and even drop Python 2. Until a non-alpha release of nodegit 0.28 is
out, we can just override the dependency resolution, which seems to work
fine. (Upstream nodegit did not make any interesting code changes when
upgrading their node-gyp dependency.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant