Skip Menu |

This queue is for tickets about the Test-CheckDeps CPAN distribution.

Report information
The Basics
Id: 76854
Status: resolved
Priority: 0/
Queue: Test-CheckDeps

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.002
Fixed in: (no value)



Subject: Not handling when a module doesn't have a $VERSION
Test::CheckDeps is not happy when an (installed) dependency does not have a $VERSION: t/00-check-deps.t ........................ 1/? # Failed test 'Missing version info for module 'Plack::Middleware::Runtime'' # at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm line 39. # Failed test 'Missing version info for module 'Plack::Middleware::ErrorDocument'' # at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm line 39. # Failed test 'Missing version info for module 'Plack::Middleware::Conditional'' # at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm line 39. # Failed test 'Missing version info for module 'Plack::Component'' # at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm line 39. # Failed test 'Missing version info for module 'Plack::Middleware::AccessLog'' # at /home/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/CheckDeps.pm line 39. t/00-check-deps.t ........................ 79/? Bailout called. Further testing stopped: Missing dependencies In this particular case, the dependencies on Plack::Component etc would need to be replaced with their distribution, Plack - but this gets more tricky when dependencies are added automatically - i.e. with [AutoPrereqs]. The test should presume that if there is not a dependency on a particular version, the existence of the module is sufficient, and should not die when $VERSION is not found.
On Fri Apr 27 09:58:32 2012, ETHER wrote: Show quoted text
> Test::CheckDeps is not happy when an (installed) dependency does not > have a $VERSION:
Can no longer reproduce; I expect something changed recently in CPAN::Meta::*. Sorry for the bother!