Subject: | Too dumb in handling recursive dependencies |
Test::More depends on File::Spec. File::Spec depends on Test::More. So I get things like this (running 2.10 on perl 5.8.7):
Show quoted text
cpan> test Test::More File::Spec
...
Show quoted textcpan> install Test::More
Recursive dependency detected:
Test::More (have: 0.54; want: 1.302026)
=> EXODIST/Test-Simple-1.302026.tar.gz
=> File::Spec (have: 3.05; requires: 0)
=> RJBS/PathTools-3.62.tar.gz
=> Test::More (have: 0.54; requires: 0.88).
Cannot resolve.
Karen Etheridge points out in https://github.com/Test-More/test-more/issues/682 that, since File::Spec is already installed and the required version (0) is lower than the installed version, it should not consider this a circular dependency.
Personally, I don’t think it’s worth making CPAN.pm more complicated, and I suggested simply dropping the prerequisite declarations from Test::More (it’s sufficiently low-level that that should never be a problem), but I wanted to see what opinions were on the ‘other side’.