Closed lelutin closed 3 years ago
I recall that semantic_puppet was not a hard dependency because of the way it was vendored in Puppet's all-in-one packages and it created loading issues. It is best to consider it a hard dependency though.
ok! then I guess nothing needs to be done here. the package uses ruby-semantic-puppet as a build dependency
Hello,
I tried running the tests for metadata-json-lint agains ruby 2.7 (since it's the version in debian sid) without having semantic_puppet installed (I was basically trying to cut corners to avoid needing to create one more debian package in order to package metadata-json-lint into debian) and there was one test that was failing consistently:
This might be somewhat expected since the warning does say that version parsing is maybe less accurate when running the test suite without semantic_puppet. The same test (all of them actually) does pass when semantic_puppet is installed as a build dependency.
If that test cannot pass without semantic_puppet, maybe it should be skipped if the library is not present? or maybe it has deeper implications that I haven't thought of..
(p.s. I'm going forward with packaging semantic_puppet since the tests all pass with it, so this can be viewed as a low priority issue -- I just thought I'd report this anyway since I have the test output)