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

fix: Remove pygit2 dependency #582

Merged
merged 1 commit into from
Aug 26, 2024
Merged

fix: Remove pygit2 dependency #582

merged 1 commit into from
Aug 26, 2024

Conversation

rumpelsepp
Copy link
Member

On a few platforms (ask @peckto) the pygit2 dependency cannot be
installed with poetry, since the toolchain tries to build from source
and fails. Since we only use this library to detect the git root, let's
implement this with calling the Git binary instead. When git is not available,
then Git repos are not used for config discovery.

@rumpelsepp rumpelsepp requested a review from peckto as a code owner August 26, 2024 09:24
@rumpelsepp rumpelsepp force-pushed the pygit branch 2 times, most recently from dcddf58 to d0781e2 Compare August 26, 2024 09:26
On a few platforms (ask @peckto) the pygit2 dependency cannot be
installed with poetry, since the toolchain tries to build from source
and fails. Since we only use this library to detect the git root, let's
implement this with calling the Git binary instead. When git is not available,
then Git repos are not used for config discovery.
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.

2 participants