❦ 2 mai 2016 11:36 +0100, Simon McVittie <[email protected]> : >> Poyo is a simple parser for a subset of YAML. The subset is quite >> restricted and doesn't include JSON or any JSON constructs. > > Ugh. Restricted "not quite" dialects of well-known languages considered > harmful... > >> I need >> this dependency as part of cookiecutter but I could also just patch >> cookie cutter to use ruamel.yaml or PyYAML which are already packaged. > > There appear to be versions of python-cookiecutter that depend on both > already, suggesting that its upstream author can't make up their mind? > (python-yaml in stable, python-ruamel.yaml in testing)
Yes. In short, they try to workaround the deficiency in Python native
packaging tools and inability of some users to install easily non-pure
Python dependencies. PyYAML was problematic for some unknown reasons to
Windows users. Now, ruamel.yaml is also problematic for, I think, the
same reason, so they switched to a pure Python module written for the
occasion.
> python-yaml (PyYAML) appears to be fairly ubiquitous: 150+ packages
> have a hard dependency on it, including some quite major ones
> like various pieces of OpenStack. python-ruamel.yaml's only reverse
> dependency seems to be python-cookiecutter.
I packaged it for cookiecutter. A cursory review told me that it was a
decent module, so no big deal. The difference with poyo is that poyo is
very limited in its scope.
--
English literature's performing flea.
-- Sean O'Casey on P. G. Wodehouse
signature.asc
Description: PGP signature

