Skip Menu |

This queue is for tickets about the CPAN-Testers CPAN distribution.

Report information
The Basics
Id: 102876
Status: resolved
Priority: 0/
Queue: CPAN-Testers

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: dagolden [...] cpan.org
AdminCc:

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



CC: DAGOLDEN [...] cpan.org
Subject: ERR: CPAN::Meta::YAML found a duplicate key
When I test BARBIE/CPAN-Testers-0.06.tar.gz and have CPAN::Meta::YAML 0.014, then I get: # Failed test 'META.yml contains valid YAML' # at t/94metatest.t line 15. # Failed test 'META.yml meets the designated specification' # at t/94metatest.t line 15. # ERR: CPAN::Meta::YAML found a duplicate key 'build_requires' in line '' at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9-272-g2115c43/9980/lib/5.21.10/Parse/CPAN/Meta.pm line 120. # at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9-272-g2115c43/9980/lib/site_perl/5.21.10/Test/CPAN/Meta.pm line 128. # Failed test 'META.yml distribution version matches' # at t/94metatest.t line 20. # got: undef # expected: '0.06' # Looks like you failed 3 tests of 3. t/94metatest.t .... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests Downgrading to DAGOLDEN/CPAN-Meta-YAML-0.012.tar.gz is good as a workaround. Cheers,
The new YAML::Tiny/CPAN::Meta::YAML correctly detects duplicate keys, which are prohibited in the YAML spec.
RT-Send-CC: dagolden [...] cpan.org
Fixed in 0.07, thanks both :)