Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 51646
Status: resolved
Worked: 25 min
Priority: 0/
Queue: CPANPLUS

People
Owner: BINGOS [...] cpan.org
Requestors: NPW [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.88
  • 0.89_09
Fixed in: (no value)



Subject: Dependencies on e.g. Log::Message are not stated in META.yml
Hello, I noticed that Log::Message is at least one dependency CPANPLUS which is not stated in the META.yml file (which actually doesn't list any dependencies). A quick grep of the source code in blib/ comes up with these candidates, which off the top of my head aren't core modules, and so may warrant optional or mandatory prerequisites: Archive::Extract Cwd DBD::SQLite DBIx::Simple File::Basename File::Fetch File::Spec File::Temp IPC::Cmd Locale::Maketext::Simple Log::Message Module::Load Module::Loaded Object::Accessor Package::Constants Params::Check Parse::CPAN::Meta Term::ReadLine Term::UI Test Time::Local Additionally, the code also contains an explicit dependency on Perl 5.006001. I haven't looked in t/ or elsewhere.
On Wed Nov 18 09:05:02 2009, NPW wrote: Show quoted text
> Hello, > > I noticed that Log::Message is at least one dependency CPANPLUS which is > not stated in the META.yml file (which actually doesn't list any > dependencies). > > A quick grep of the source code in blib/ comes up with these candidates, > which off the top of my head aren't core modules, and so may warrant > optional or mandatory prerequisites: > > Archive::Extract > Cwd > DBD::SQLite > DBIx::Simple > File::Basename > File::Fetch > File::Spec > File::Temp > IPC::Cmd > Locale::Maketext::Simple > Log::Message > Module::Load > Module::Loaded > Object::Accessor > Package::Constants > Params::Check > Parse::CPAN::Meta > Term::ReadLine > Term::UI > Test > Time::Local > > Additionally, the code also contains an explicit dependency on Perl > 5.006001. > > I haven't looked in t/ or elsewhere.
There is already a ticket open regarding the META.yml https://rt.cpan.org/Ticket/Display.html?id=30465 I had a brief chat with Jos about it as well: [16:39] <@BinGOs> kane: did you see the other ticket regarding CPANPLUS' META.yml file ? [16:39] <@kane> yeah, we've answered that before [16:40] <@kane> cpanplus has dynamic dependencies, so stating them in meta.yml is wrong (cpan.pm used to take it as authoritative) [16:40] <@kane> if that's changed, we can consider it, but otherwise, breakage occurs Cheers.
dynamic_config has been set to 1 in the META.yml, to explicitly state that prereqs are dynamically generated. http://module-build.sourceforge.net/META-spec-v1.3.html#dynamic_config Many thanks.