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: import libmagic only when its needed #1083

Merged
merged 4 commits into from
Nov 11, 2023

Conversation

MatteoVoges
Copy link
Contributor

Fixes #1078

Proposed Changes

  • import libmagic only when it is needed

@ademariag
Copy link
Contributor

@MatteoVoges why don't we add libmagic to the dependencies?

@ademariag ademariag merged commit 413bde0 into kapicorp:master Nov 11, 2023
7 checks passed
@MatteoVoges
Copy link
Contributor Author

@MatteoVoges why don't we add libmagic to the dependencies?

I have to search if libmagic is available as python pip package, because it's the only apt/brew dependency. Maybe there exists an up-to-date python lib that unpacks downloaded files.

I think it we should find a solution for it, because having kapitan not working after using pip / poetry install shouldn't be the case.

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.

[bug]: ImportError: failed to find libmagic. Check your installation
2 participants