Skip Menu |

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

Report information
The Basics
Id: 96911
Status: resolved
Priority: 0/
Queue: Test-Apocalypse

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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



Subject: Test fail with YAML-0.95
$ prove -b -v t/00-compile.t t/00-compile.t .. 1..36 ok 1 - Test::Apocalypse loaded ok ok 2 - Test::Apocalypse::AutoLoader loaded ok ok 3 - Test::Apocalypse::CPANMeta loaded ok ok 4 - Test::Apocalypse::CPANMeta_JSON loaded ok ok 5 - Test::Apocalypse::CPANMeta_YAML loaded ok ok 6 - Test::Apocalypse::CheckChanges loaded ok ok 7 - Test::Apocalypse::Compile loaded ok ok 8 - Test::Apocalypse::ConsistentVersion loaded ok ok 9 - Test::Apocalypse::DOSnewline loaded ok YAML::Any does not define $YAML::Any::VERSION--version check failed at lib/Test/Apocalypse/Dependencies.pm line 22. BEGIN failed--compilation aborted at lib/Test/Apocalypse/Dependencies.pm line 22. Compilation failed in require at -e line 1. not ok 10 - Test::Apocalypse::Dependencies loaded ok # Failed test 'Test::Apocalypse::Dependencies loaded ok' # at t/00-compile.t line 46. # '' # doesn't match '(?^s:^\s*Test::Apocalypse::Dependencies ok)' This is caused by upgrading YAML from 0.94 to 0.95. The code checks for YAML modules version, but YAML-0.95 changed how the YAML's version is declared: -$YAML::VERSION = '0.94'; +our $VERSION = '0.95';
From: ppisar [...] redhat.com
Dne Čt 03.čec.2014 08:29:07, ppisar napsal(a): Show quoted text
> This is caused by upgrading YAML from 0.94 to 0.95. The code checks > for YAML modules version, but YAML-0.95 changed how the YAML's version > is declared:
This is about YAML::Any. The version has been removed. It was: package YAML::Any; $YAML::Any::VERSION = '0.94'; There is no $YAML::Any::VERSION in YAML::Any 0.95.
From: ppisar [...] redhat.com
This is a bug in YAML-0.95. I reported it <https://github.com/ingydotnet/yaml-pm/issues/30>. -- Petr
Thanks very much for this report and the associated YAML bugreport! I noticed that YAML has been fixed, so this ticket is now closed :) On Thu Jul 03 08:43:50 2014, ppisar wrote: Show quoted text
> This is a bug in YAML-0.95. I reported it > <https://github.com/ingydotnet/yaml-pm/issues/30>. > > -- Petr
-- ~Apocalypse