On Tue, May 11, 2010 at 9:04 AM, Aristotle Pagaltzis <pagalt...@gmx.de> wrote: > * Daniel Pittman <dan...@rimspace.net> [2010-05-11 05:00]: >> Also, the approach Dist::Zilla takes with the >> 'configure_requires' and 'build_requires' keys is to remove >> them when running on an older version of EU:MM. >> >> Is a better approach to add them to 'requires', but only on >> older versions of EU::MM, so that the generated code has those >> extra details on platforms that don't support the newer fields? > > By the time Makefile.PL runs, it is already too late to satisfy > an unmet `configure_requires` dependency. There is simply nothing > you can do on such old installations.
That's correct but misleading. Newer EU::MM supports BUILD_REQUIRES and CONFIGURE_REQUIRES as arguments. Dist::Zilla generates a Makefile.PL that deletes those on older EU::MM to keep EU::MM from complaining about unknown arguments. Dist::Zilla does correctly add configure_requires to META and the generated Makefile.PL has: use ExtUtils::MakeMaker 6.31; None of that is really relevant to the situation at hand, which is about a build requirement for Test::More not being met. As Apocalypse said, there was a bug in Dist::Zilla dealing with build requirements that has been fixed. Upgrading Dist::Zilla and re-releasing the distribution should fix the problem. -- David