Subject: | Misleading META information: Test-CPAN-Meta-JSON is not a prerequisite |
In the META.json file of the BARBIE/Test-CPAN-Meta-0.25 distribution,
Test::CPAN::Meta::JSON is listed among recommended prerequisites for testing.
This is wrong. Test::CPAN::Meta::JSON is a module of similar functionality,
but dependency-wise completely unrelated to Test::CPAN::Meta. And indeed,
Test::CPAN::Meta::JSON is used nowhere in the test suite.
According to CPAN::Meta::Spec, the "recommended" keyword in a prereqs
declaration is intended for dependencies that are strongly encouraged and
should be satisfied except in resource constrained environments. This is
absolutely not a place to recommend similar but independent modules to
users.
Moreover, since an analogous dependency in the other direction is also buried
in the metadata of the other module, we now even have an apparent circular
dependency.
To fix this, just drop this pseudo dependency from the metadata. The POD
documentation already does a good job to point users to all three meta file
testing distributions.
-Martin