Closed developomp closed 2 years ago
This is actually intended behaviour. The only part of the code that requires PyYAML as a dependency is YamlLoader
, so adding it as a full dependency is odd as it's a fully optional feature.
My idea is, if you use YAML in your project you should include it in the dependencies yourself, but the users who don't shouldn't have to install it when it will never get used.
I think it'd be a good idea to put that in the documentation then.
Good call.
Describe the bug package PyYAML is used in
file_loaders.py
but it's not listed as its dependencies.To Reproduce Steps to reproduce the behavior:
examples
directorykrm
Expected behavior There should be no error.
Screenshots
This ain't no screenshot but I think it's more helpful.
System information
Possible cause Described above
Possible solution Add PyYAML as pytermgui's dependency.
RIP Zero dependencies :(