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

bug: Python SDK requires git to be installed but does not install it #16

Closed
gmazoyer opened this issue Jul 16, 2024 · 1 comment
Closed
Labels
type/bug Something isn't working as expected

Comments

@gmazoyer
Copy link
Contributor

Component

Python SDK

Infrahub version

0.12.0

Current Behavior

The gitpython dependency that is part of the Python SDK dependencies requires the git binary to work as intended. Parts of the Python SDK code will fail if the binary is not present locally.

Expected Behavior

The Python SDK should provide a convenient way to install required dependencies or graceful error handling should be provided so that users can quickly identify how to solve the issue (e.g. by installing git).

Steps to Reproduce

Install the Python SDK on a system (or container) which does not have git installed.

Additional Information

No response

@gmazoyer gmazoyer added the type/bug Something isn't working as expected label Jul 16, 2024
@gmazoyer gmazoyer changed the title bug: Python SDK requires git to be installed but do not install it bug: Python SDK requires git to be installed but does not install it Jul 16, 2024
@dgarros dgarros transferred this issue from opsmill/infrahub Sep 21, 2024
@lykinsbd
Copy link
Contributor

Now that GitPython has been replaced with dulwich, and released in SDK version 1.6, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants