Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Fatal CPAN distribution.

Report information
The Basics
Id: 62699
Status: resolved
Priority: 0/
Queue: Test-Fatal

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.003
Fixed in: (no value)



Subject: Version requirements excessively fussy
Some of the version requirements for required modules seem a bit fussy: Exporter 5.59 => version 5.57 has "import" and works OK ExtUtils::MakeMaker 6.31 => works fine with older versions (I've tested it back to 6.17) Test::More 0.96 => works fine with older versions (I've tested it back to 0.47) Attached patch relaxes the requirements accordingly and makes it easier to build the package in older environments, such as Enterprise Linux distributions.
Subject: Test-Fatal-0.003-versions.patch
There's no need to be as strict about versions as this. diff -up Test-Fatal-0.003/lib/Test/Fatal.pm.orig Test-Fatal-0.003/lib/Test/Fatal.pm --- Test-Fatal-0.003/lib/Test/Fatal.pm.orig 2010-10-29 03:11:02.000000000 +0100 +++ Test-Fatal-0.003/lib/Test/Fatal.pm 2010-10-29 09:06:06.608473151 +0100 @@ -10,7 +10,7 @@ BEGIN { use Carp (); use Try::Tiny 0.07; -use Exporter 5.59 'import'; +use Exporter 5.57 'import'; our @EXPORT = qw(exception); our @EXPORT_OK = qw(exception success); diff -up Test-Fatal-0.003/Makefile.PL.orig Test-Fatal-0.003/Makefile.PL --- Test-Fatal-0.003/Makefile.PL.orig 2010-10-29 03:11:02.000000000 +0100 +++ Test-Fatal-0.003/Makefile.PL 2010-10-29 09:07:28.605285870 +0100 @@ -4,7 +4,7 @@ use warnings; -use ExtUtils::MakeMaker 6.31; +use ExtUtils::MakeMaker 6.17; @@ -12,11 +12,11 @@ my %WriteMakefileArgs = ( 'ABSTRACT' => 'incredibly simple helpers for testing code with exceptions', 'AUTHOR' => 'Ricardo Signes <rjbs@cpan.org>', 'BUILD_REQUIRES' => { - 'Test::More' => '0.96', + 'Test::More' => '0.47', 'overload' => '0' }, 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.31' + 'ExtUtils::MakeMaker' => '6.17' }, 'DISTNAME' => 'Test-Fatal', 'EXE_FILES' => [], @@ -24,7 +24,7 @@ my %WriteMakefileArgs = ( 'NAME' => 'Test::Fatal', 'PREREQ_PM' => { 'Carp' => '0', - 'Exporter' => '5.59', + 'Exporter' => '5.57', 'Try::Tiny' => '0.07' }, 'VERSION' => '0.003', @@ -50,6 +50,9 @@ unless ( eval { ExtUtils::MakeMaker->VER delete $WriteMakefileArgs{CONFIGURE_REQUIRES} unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; +delete $WriteMakefileArgs{LICENSE} + unless eval { ExtUtils::MakeMaker->VERSION(6.31) }; + WriteMakefile(%WriteMakefileArgs);
the next release cranks back Test::More to 0.47 and Exporter to 5.57 changing the EUMM version required is a pain because of my build tools is there a distribution where this is actually a real problem? -- rjbs
From: paul [...] city-fan.org
On Wed Jun 01 22:45:50 2011, RJBS wrote: Show quoted text
> the next release cranks back Test::More to 0.47 and Exporter to 5.57 > > changing the EUMM version required is a pain because of my build tools > > is there a distribution where this is actually a real problem?
The still-supported Red Hat Enterprise Linux 4 has ExtUtils::MakeMaker 6.17. However, I wouldn't describe it as a "real problem" since it's trivially patched and that distribution reaches end of life at the end of February next year. Red Hat Enterprise Linux 5 is OK, having ExtUtils::MakeMaker 6.55_02.
Okay. I'm going to close this, then, since changing the EUMM version would require (more or less) changes to Dist::Zilla, which, if I got them wrong, would impact a lot of people. -- rjbs