On Sun, Jun 9, 2013 at 7:26 AM, Serguei Trouchelle <s...@cpan.org> wrote: > I was tried to install my own module (Dist::Zilla-based, more than a year > old) on brand new 5.18.0 with all recent modules. CPAN shell (CPAN.pm 2.0) > refused to build it, complaining about circular dependency. The problem is, > it's self-dependency. When I tried to find out what's wrong, I found that > META.json contains the module name in prereqs/test/requires. I understand > that it was added by Dist::Zilla because tests use this module (obviously). > But I had no problems with installing it some time ago (more than a year).
I would say it shouldn't self-reference. > I've been away from the recent Perl trends for a while, so I'm not sure who > is at fault here: CPAN.pm or Dist::Zilla (or some plugin to generate META > file)? Your tarball doesn't include the dist.ini, nor does it include a reference to the repository. I do know that the META files and the Makefile.PL are not matching each other, which probably means your dzil setup is broken and wrong. This may also explain why it used to work (Makefile.PL writes a MYMETA which doesn't include the circular dependency). Leon