Skip Menu |

This queue is for tickets about the MooseX-Types-DateTime-MoreCoercions CPAN distribution.

Report information
The Basics
Id: 97618
Status: resolved
Priority: 0/
Queue: MooseX-Types-DateTime-MoreCoercions

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

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



Subject: A test fails if CPAN::Meta is not installed
MooseX-Types-DateTime-MoreCoercions-0.12 reworked t/00-report-prereqs.t which fails now if CPAN::Meta is not available: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Use of uninitialized value in string eq at t/00-report-prereqs.t line 31. Can't call method "requirements_for" on unblessed reference at t/00-report-prereqs.t line 121. # Looks like your test exited with 25 before it could output anything. t/00-report-prereqs.t .. Dubious, test returned 25 (wstat 6400, 0x1900) Failed 1/1 subtests This looks like a bug in distzilla.
From: ppisar [...] redhat.com
Dne St 30.čec.2014 06:32:18, ppisar napsal(a): Show quoted text
> MooseX-Types-DateTime-MoreCoercions-0.12 reworked t/00-report- > prereqs.t which fails now if CPAN::Meta is not available: >
See <https://github.com/chansen/p5-http-tiny/issues/50> for the same bug a fix in HTTP-Tiny. The t/00-report-prereqs.t from fixed HTTP-Tiny reports: -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.014 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.016 So there should be a new already fixed distzilla. -- Petr
Yep, this came up on irc yesterday when Dave Golden discovered the problem. I checked all my distributions that I'd made with that version of the plugin, and found that none of them were affected, since they all had CPAN::Meta in the dependency chain -- this module included -- but Moose only includes CPAN::Meta as a dependency in very recent versions. I suppose you must be using an older version of Moose? I'll release a new version.
Lucky 0.13 released.
From: ppisar [...] redhat.com
Dne St 30.čec.2014 10:19:56, ETHER napsal(a): Show quoted text
> Yep, this came up on irc yesterday when Dave Golden discovered the > problem. I checked all my distributions that I'd made with that > version of the plugin, and found that none of them were affected, > since they all had CPAN::Meta in the dependency chain -- this module > included -- but Moose only includes CPAN::Meta as a dependency in very > recent versions. I suppose you must be using an older version of > Moose? >
I have Moose-2.1005. Show quoted text
> I'll release a new version.
The 0.13 release passes without CPAN::Meta, so the categorization into test → recommends is fine. However there is still something to fix in the t/00-report-prereqs.t as it complains about undefined value now: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Use of uninitialized value in string eq at t/00-report-prereqs.t line 40. It's caused by $collector being {} without the class name member which the blessed() stringifies. -- Petr
Subject: Re: [rt.cpan.org #97618] A test fails if CPAN::Meta is not installed
Date: Fri, 1 Aug 2014 07:22:39 -0700
To: Petr Pisar via RT <bug-MooseX-Types-DateTime-MoreCoercions [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Fri, Aug 01, 2014 at 02:45:05AM -0400, Petr Pisar via RT wrote: Show quoted text
> The 0.13 release passes without CPAN::Meta, so the categorization into test → recommends is fine. However there is still something to fix in the t/00-report-prereqs.t as it complains about undefined value now:
Thanks, I've passed this on to the author of that test: https://github.com/dagolden/Dist-Zilla-Plugin-Test-ReportPrereqs/issues/21