Skip Menu |

This queue is for tickets about the MooseX-ConfigFromFile CPAN distribution.

Report information
The Basics
Id: 86303
Status: resolved
Priority: 0/
Queue: MooseX-ConfigFromFile

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

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



Subject: Broken due to changes in Types::Path::Tiny
A couple of changes have just hit CPAN for Types::Path::Tiny, which were building fine yesterday (we have a continuous build against CPAN which flagged this) Failed to build using perlbrewed perl-5.8.9 (CentOS5), perl-5.14.4 (OSX) Start of stack trace: t/01use.t ........................ ok Could not create the 'reader' method for configfile because : Could not generate inline reader because : Can't locate object method "inline_check" via package "Moose::Meta::TypeConstraint" at .../lib/perl5/MooseX/Types/TypeDecorator.pm line 173. at /root/.perlbrew/libs/perl-5.14.4@ms5/lib/perl5/x86_64-linux/Class/MOP/Method/Accessor.pm line 156. Class::MOP::Method::Accessor::__ANON__('Can\'t locate object method "inline_check" via package "Moose...') called at.../lib/perl5/Try/Tiny.pm line 100
When dagolden dropped Types::Path::Tiny to CPAN, I installed MooseX::ConfigFromFile and Gentoo::Overlay to make sure they were ok, and they both passed here (Perl 5.18). Which is not to say that this bug exists, but that it doesn't seem to be affecting everybody. I'll keep trying to figure out what the problem might be...
OK, there's a small bug in Types::TypeTiny::to_TypeTiny's conversion of MooseX::Types type constraints to "native" Type::Tiny one. This is triggered when creating a union type constraint out of Path (which is Type::Tiny) and Undef (which is MooseX::Types). Releasing Type-Tiny-0.007_10 to CPAN with a fix. If CPAN testers seems to like it, I'll re-upload it as 0.008.
Subject: Re: [rt.cpan.org #86303] Broken due to changes in Types::Path::Tiny
Date: Fri, 21 Jun 2013 11:56:35 +0100
To: bug-MooseX-ConfigFromFile [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Additional data points: I ran into this, performing a fresh Perl 5.16.3 build and installation of many modules from CPAN. Also reproduced on not-entirely-fresh (but without this module or Types::Path::Tiny previously installed) 5.16.2 and 5.18.0. So it doesn't appear to depend on Perl core version. Toby's non-reproduction might perhaps be due to him having an older version of some other prereq module. -zefram
Subject: Re: [rt.cpan.org #86303] Broken due to changes in Types::Path::Tiny
Date: Fri, 21 Jun 2013 12:05:30 +0100
To: bug-MooseX-ConfigFromFile [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Type-Tiny-0.007_10 fixes it here. -zefram
Type-Tiny-0.008 is now on CPAN.
CC: dagolden [...] cpan.org
Subject: Re: [rt.cpan.org #86303] Broken due to changes in Types::Path::Tiny
Date: Fri, 21 Jun 2013 09:25:19 -0700
To: Toby Inkster via RT <bug-MooseX-ConfigFromFile [...] rt.cpan.org>
From: Karen Etheridge <ether [...] cpan.org>
On Fri, Jun 21, 2013 at 06:36:50AM -0400, Toby Inkster via RT wrote: Show quoted text
> Releasing Type-Tiny-0.007_10 to CPAN with a fix. If CPAN testers seems to like it, I'll re-upload it as 0.008.
How is this relevant? MooseX::ConfigFromFile uses MooseX::Types, not Types::Tiny. It is not my intent to have this module depend on Types::Tiny, which although a worthy experiment, I do not feel is production-ready in the Catalyst dependency chain.
RT-Send-CC: dagolden [...] cpan.org, zefram [...] fysh.org
New versions of MooseX::Types::Path::Tiny and Types::Path::Tiny have shipped, which split these two modules into separate distributions. Moreover, the perl 5.8.5 issue with MooseX::Types has been fixed (see RT#77100) in version 0.36.