Subject: | DZP::CPANFile fails with CPAN::Meta::Requirements 2.120630 |
Looks like Dist::Zilla::Plugin::CPANFile needs a version of
CPAN::Meta::Requirements that supports a "requirements_for_module"
method, so minimum version number should be enforced in Dist::Zilla
runtime dependancies.
Here is an example failure when building Dist::Zilla itself.
$ pmvers CPAN::Meta::Requirements
2.120630
$ dzil build
[DZ] beginning to build Dist-Zilla
[@RJBS/Git::NextVersion] Bumping version from 4.300014 to 4.300015
[DZ] guessing dist's main_module is lib/Dist/Zilla.pm
[DZ] extracting distribution abstract from lib/Dist/Zilla.pm
[@RJBS/@Filter/ExtraTests] rewriting release test xt/release/pod-syntax.t
[@RJBS/PkgVersion] skipping private package Dist::Zilla::Util::PEA in
lib/Dist/Zilla/Util.pm
[@RJBS/PkgVersion] skipping private package
Dist::Zilla::Dist::Builder::Dir::WithLink in lib/Dist/Zilla/Dist/Builder.pm
[@RJBS/PkgVersion] skipping private package dzil in bin/dzil
[@RJBS/PkgVersion] skipping private package
Dist::Zilla::Plugin::UploadToCPAN::_Uploader in
lib/Dist/Zilla/Plugin/UploadToCPAN.pm
[@RJBS/GithubMeta] A remote named 'github' was specified, but does not
appear to exist.
[DZ] writing Dist-Zilla in Dist-Zilla-4.300015
Can't locate object method "requirements_for_module" via package
"CPAN::Meta::Requirements" at
/home/omengue/.perl/lib/perl5/Dist/Zilla/Plugin/CPANFile.pm line 26.
--
Olivier Mengué - http://perlresume.org/DOLMEN