Subject: | Could prereqs be ignored if tests pass? |
Date: | Sun, 30 May 2010 18:19:33 -0700 |
To: | bug-CPAN [...] rt.cpan.org |
From: | Father Chrysostomos <sprout [...] cpan.org> |
CPAN.pm 1.94_56
I tried installing 1.94_57. It says it requires File::HomeDir, but the
latter’s tests failed. CPAN’s tests passed anyway, but it wouldn’t
install (‘one dependency not OK’).
This causes problems for a plan I had for the next version of one of
my modules: It requires that one of two modules be installed, but it
doesn’t matter which. One of them is preferable to the other, but is
harder to install (more likely to fail). So I was hoping to list both
under the prerequisites and have it just work. But now I know that
CPAN.pm won’t install it?
Is it possible to make CPAN.pm ignore the prerequisites if the tests
pass? Or is there another solution to this case.
(FYI, the two modules are JE and JavaScript. The module that will rely
on one or the other is WWW::Scripter::Plugin::JavaScript.)