Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 76604
Status: resolved
Priority: 0/
Queue: Dist-Zilla

Owner: Nobody in particular
Requestors: dolmen [...]

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

Subject: DZP::CPANFile fails with CPAN::Meta::Requirements 2.120630
Download (untitled) / with headers
text/plain 1.3k
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/ [DZ] extracting distribution abstract from lib/Dist/ [@RJBS/@Filter/ExtraTests] rewriting release test xt/release/pod-syntax.t [@RJBS/PkgVersion] skipping private package Dist::Zilla::Util::PEA in lib/Dist/Zilla/ [@RJBS/PkgVersion] skipping private package Dist::Zilla::Dist::Builder::Dir::WithLink in lib/Dist/Zilla/Dist/ [@RJBS/PkgVersion] skipping private package dzil in bin/dzil [@RJBS/PkgVersion] skipping private package Dist::Zilla::Plugin::UploadToCPAN::_Uploader in lib/Dist/Zilla/Plugin/ [@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/ line 26. -- Olivier Mengué -
The upgrade to DAGOLDEN/CPAN-Meta-Requirements-2.121.tar.gz fixed the issue.
fixed in master -- rjbs

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to