lucy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject [lucy-dev] Module::Build sneakily configuring configure_requires
Date Thu, 03 Nov 2011 03:19:13 GMT
On Tue, Nov 01, 2011 at 10:15:09AM -0700, Chris Hostetter wrote:
> 2) "./Build dist" warned that "Module::Build" was not listed as a pre-req, 
> so it was being added automaticly...
> 
> --BEGIN--
> Creating META.yml
> Module::Build was not found in configure_requires! Adding it now
> automatically as: configure_requires => { 'Module::Build' => 0.36 }
> --END--

Version 0.36, eh? 

We currently list Module::Build in Build.PL under build_requires:

    build_requires => {
        'Module::Build'      => 0.280801,

Version 0.280801 is the version that shipped with Perl 5.10.0, when
Module::Build was added to the Perl core.  We don't want to require M::B
version 0.36 -- that's silly and unnecessary.

But maybe it's OK for M::B to add itself like that under configure_requires
because versions prior to 0.36 ignored configure_requires?  I'm speculating...

David Wheeler has agreed to perform the CPAN release for Lucy 0.2.2.  David,
can you please make sure that M::B doesn't force its minimum required version
to 0.36 when you run ./Build dist?

And then probably adding this line to Build.PL would be OK for both trunk and
our 0.2 branch (assuming that the 0.2 branch has a life beyond 0.2.2, which
may not be the case.)

    configure_requires => { 'Module::Build' => 0.280801 }

Marvin Humphrey


Mime
View raw message