23andMe / Yamale

A schema and validator for YAML.
MIT License
666 stars 88 forks source link

Add ruamel dependency #249

Open emmeowzing opened 2 months ago

emmeowzing commented 2 months ago

project is missing the ruamel.yaml dependency. I had to install it manually after a failed runtime exception.

cblakkan commented 2 months ago

ruamel.yaml is currently intended to be an optional dependency. The library should only depend on it if you specify the ruamel parser explicitly not by default. It would be cool if we supported something like pip install yamale[ruamel] where a user could choose to have ruamel.yaml be a dependency and pyyaml not be a dependency but currently that's not supported.

emmeowzing commented 2 months ago

Ah okay, maybe I'll take a look at implementing that instead on this PR, then.