Open ecerulm opened 10 months ago
Hey, thanks for the report. I've created #1083 to address this issue!
Reopening again, because the fix was reverted, and it shouldn't be the case to have kapitan not working after installing the dependencies. Also you shouldn't have to install specific dependencies manually afterwards...
Description of the bug
If libmagic is not installed you get an
ImportError
,I think it should be reported some other way, preferibably it should say that it's missing at
pip install
time. Or preferably install it automatically somehow.I see that there was some work for that but it doesn seem to work on alpine at least , see the steps to reproduce below
Steps to reproduce
Then if I manually install
libmagic
it works:What happened?
I got an ImportError because libmagic is missing.
I would expect an error at
pip install
time not a runtime. Or mention in the documentation.Additional context
https://github.com/kapicorp/kapitan/issues/952
https://github.com/kapicorp/kapitan/pull/951
Version (kapitan)
v0.31.0 (stable)
Version (kapitan)
I use kapitan directly (pip, docker)
Python virtual environment
OS information
Alpine 3.18
Relevant log output