From: Peter Rabbitson Date: Sun, 12 Feb 2012 17:23:48 +0000 (+0100) Subject: Catalyst is tested and works just fine with 5.8.3. Reflect in requirements. X-Git-Tag: 5.90009~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=0f6be50c90e64a135de4f8fd00703b3fc34f0fa5 Catalyst is tested and works just fine with 5.8.3. Reflect in requirements. Files=29, Tests=2997, 29 wallclock secs ( 0.46 usr 0.02 sys + 28.44 cusr 0.64 csys = 29.56 CPU) (with aggregated tests) Files=144, Tests=2946, 218 wallclock secs ( 0.82 usr 0.24 sys + 212.72 cusr 4.20 csys = 217.98 CPU) (without aggregation) Note - this was fully tested with a modified LWP as per RT#74190. Here is a dump of my requirement list: rabbit@Thesaurus:~/devel/cat_runtime/Catalyst-Runtime-5.90008$ perl -v This is perl, v5.8.3 built for i686-linux-thread-multi rabbit@Thesaurus:~/devel/cat_runtime/Catalyst-Runtime-5.90008$ perl Makefile.PL *** Module::AutoInstall version 1.04 *** Checking for Perl dependencies... [Core Features] - Class::Data::Inheritable ...loaded. (0.08) - Test::Exception ...loaded. (0.31) - Test::More ...loaded. (0.98 >= 0.88) - Data::Dump ...loaded. (1.19) - HTTP::Request::Common ...loaded. (6.00) - List::MoreUtils ...loaded. (0.30) - namespace::autoclean ...loaded. (0.12 >= 0.09) - namespace::clean ...loaded. (0.20 >= 0.13) - B::Hooks::EndOfScope ...loaded. (0.09 >= 0.08) - MooseX::Emulate::Class::Accessor::Fast ...loaded. (0.00903 >= 0.00903) - Class::Load ...loaded. (0.13 >= 0.12) - Class::MOP ...loaded. (2.0402 >= 0.95) - Data::OptList ...loaded. (0.107) - Moose ...loaded. (2.0402 >= 1.03) - MooseX::MethodAttributes::Inheritable ...loaded. (0.26 >= 0.24) - MooseX::Role::WithOverloading ...loaded. (0.09 >= 0.09) - MooseX::Types::LoadableClass ...loaded. (0.006 >= 0.003) - Carp ...loaded. (1.01) - Class::C3::Adopt::NEXT ...loaded. (0.13 >= 0.07) - CGI::Simple::Cookie ...loaded. (1.113 >= 1.109) - Data::Dump ...loaded. (1.19) - Data::OptList ...loaded. (0.107) - HTML::Entities ...loaded. (3.69) - HTML::HeadParser ...loaded. (3.69) - HTTP::Body ...loaded. (1.15 >= 1.06) - HTTP::Headers ...loaded. (6.00 >= 1.64) - HTTP::Request ...loaded. (6.00 >= 5.814) - HTTP::Response ...loaded. (6.01 >= 5.813) - HTTP::Request::AsCGI ...loaded. (1.2 >= 1.0) - LWP::UserAgent ...loaded. (6.03) - Module::Pluggable ...loaded. (3.9 >= 3.9) - Path::Class ...loaded. (0.23 >= 0.09) - Scalar::Util ...loaded. (1.23) - Sub::Exporter ...loaded. (0.982) - Text::SimpleTable ...loaded. (2.03 >= 0.03) - Time::HiRes ...loaded. (1.52) - Tree::Simple ...loaded. (1.18 >= 1.15) - Tree::Simple::Visitor::FindByPath ...loaded. (0.03) - Try::Tiny ...loaded. (0.09) - URI ...loaded. (1.59 >= 1.35) - Task::Weaken ...loaded. (1.04) - Text::Balanced ...loaded. (1.95) - MRO::Compat ...loaded. (0.11) - MooseX::Getopt ...loaded. (0.39 >= 0.30) - MooseX::Types ...loaded. (0.25) - MooseX::Types::Common::Numeric ...loaded. (0.001004) - String::RewritePrefix ...loaded. (0.006 >= 0.004) - Plack ...loaded. (0.9985 >= 0.9974) - Plack::Middleware::ReverseProxy ...loaded. (0.11 >= 0.04) - Plack::Test::ExternalServer ...loaded. (0.01) --- diff --git a/Makefile.PL b/Makefile.PL index 6790f06..d6785d9 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,7 +8,7 @@ use Module::Install::AuthorRequires; use Module::Install::CheckConflicts; use Module::Install::AuthorTests; -perl_version '5.008004'; +perl_version '5.008003'; name 'Catalyst-Runtime'; all_from 'lib/Catalyst/Runtime.pm'; diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index eb44a14..3f1caa8 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -38,7 +38,7 @@ use Plack::Middleware::ReverseProxy; use Plack::Middleware::IIS6ScriptNameFix; use Plack::Middleware::LighttpdScriptNameFix; -BEGIN { require 5.008004; } +BEGIN { require 5.008003; } has stack => (is => 'ro', default => sub { [] }); has stash => (is => 'rw', default => sub { {} }); diff --git a/lib/Catalyst/Runtime.pm b/lib/Catalyst/Runtime.pm index 81bb882..a56a842 100644 --- a/lib/Catalyst/Runtime.pm +++ b/lib/Catalyst/Runtime.pm @@ -3,7 +3,7 @@ package Catalyst::Runtime; use strict; use warnings; -BEGIN { require 5.008004; } +BEGIN { require 5.008003; } # Remember to update this in Catalyst as well! diff --git a/t/aggregate/unit_core_script_server-without_modules.t b/t/aggregate/unit_core_script_server-without_modules.t index 2fc7772..3bb7d76 100644 --- a/t/aggregate/unit_core_script_server-without_modules.t +++ b/t/aggregate/unit_core_script_server-without_modules.t @@ -1,6 +1,12 @@ use strict; use warnings; use FindBin qw/$Bin/; + +# Package::Stash::XS has a weird =~ XS invocation during its compilation +# This interferes with @INC hooks that do rematcuing on their own on +# perls before 5.8.7. Just use the PP version to work around this. +BEGIN { $ENV{PACKAGE_STASH_IMPLEMENTATION} = 'PP' if $] < '5.008007' } + use Test::More; use Try::Tiny;