On Wed, Jan 16, 2013 at 09:26:06PM -0500, Kim Ryan via RT wrote:
Show quoted text> On Tue Jan 15 08:09:27 2013, ppisar wrote:
> > META.yml requieres Test::Pod 1.44, but the only occurrence in t/pod.t
> > checks for version 1.00. One of these two should be changed to match
> > each other.
>
> Thanks for raising this issue. From my understanding when you create
> the Makefile, Module::Build (or some other module) works out the
> dependancies and versions and creates the META.yml file.
I think ExtUtils::MakeMaker just copies data from Makefile.PL where you
explicitly states 1.44 version.
The same applies to Build.PL.
Show quoted text> I'm not sure why it is setting the Test::Pod version to 1.44
>
So this is not an automatism, but wrong input.
Show quoted text> In my code in pod.t I use:
> eval "use Test::Pod 1.00";
> which should only check that at least version 1.00 is installed, and
> not cause a problem if a later version is there.
Yes, but CPAN and all the tools consumes META files to create dependency tree.
Then our package requires 1.44 effectivelly which is overkill.
Show quoted text> This line of code is
> taken straight from the Test::Pod doco
>
http://search.cpan.org/~dwheeler/Test-Pod-
> 1.45/lib/Test/Pod.pm#SYNOPSIS. I ran this single line of code on my PC
> and it worked fine, even though 1.45 of Test::Pod was installed.
>
The code in test is fine. I would say Makefile.PL and Build.PL are wrong.
Show quoted textA lot of people have the versions wrong.
I recommend to decrease the versions in Makefile.PL and Build.PL to 1.00.
-- Petr