Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Plack-Middleware-Session CPAN distribution.

Report information
The Basics
Id: 55035
Status: resolved
Priority: 0/
Queue: Plack-Middleware-Session

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

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



Subject: Undeclared dependency on Test::Exception
As per subject... PS: cpanm rocks;)
Subject: Re: [rt.cpan.org #55035] Undeclared dependency on Test::Exception
Date: Sat, 27 Feb 2010 01:08:22 -0800
To: bug-Plack-Middleware-Session [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Hrm, Test::Exception is actually declared in build_requires in META. How does that not work? On Fri, Feb 26, 2010 at 9:10 PM, Andreas Koenig via RT <bug-Plack-Middleware-Session@rt.cpan.org> wrote: Show quoted text
> Sat Feb 27 00:10:32 2010: Request 55035 was acted upon. > Transaction: Ticket created by ANDK >       Queue: Plack-Middleware-Session >     Subject: Undeclared dependency on Test::Exception >   Broken in: 0.10 >    Severity: (no value) >       Owner: Nobody >  Requestors: ANDK@cpan.org >      Status: new >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=55035 > > > > As per subject... > > PS: cpanm rocks;) > >
-- Tatsuhiko Miyagawa
The META.yml isn't authoritative. It would only be authoritative if the key dynamic_config were set to 0. But if it is missing it defaults to 1. Ugly invention, I know. So the installer must ignore META.yml except for configure_requires and see what the dependencies will be after Makefile.PL is run. And since Test::Exception is not in the Makefile.PL it is considered undeclared.
Fixed in 0.11
Subject: Re: [rt.cpan.org #55035] Undeclared dependency on Test::Exception
Date: Sat, 27 Feb 2010 02:38:08 -0800
To: bug-Plack-Middleware-Session [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
On Sat, Feb 27, 2010 at 2:13 AM, Andreas Koenig via RT <bug-Plack-Middleware-Session@rt.cpan.org> wrote: Show quoted text
> > The META.yml isn't authoritative. It would only be authoritative if the > key dynamic_config were set to 0. But if it is missing it defaults to 1. > Ugly invention, I know. > > So the installer must ignore META.yml except for configure_requires and > see what the dependencies will be after Makefile.PL is run. And since > Test::Exception is not in the Makefile.PL it is considered undeclared.
Well, sure, but i don't hand write META.yml -- Module::Install does this for me and I have the line in Makefile.PL: test_requires 'Test::Exception'; So how does it not write PREREQ to Makefile.PL? M::I bug? I believe I use the latest. -- Tatsuhiko Miyagawa
Subject: Re: [rt.cpan.org #55035] Undeclared dependency on Test::Exception
Date: Sat, 27 Feb 2010 02:39:00 -0800
To: bug-Plack-Middleware-Session [...] rt.cpan.org
From: Tatsuhiko Miyagawa <miyagawa [...] gmail.com>
Oh wait, duh, it's just added on git master but wasn't shipped to CPAN. Sorry! On Sat, Feb 27, 2010 at 2:38 AM, Tatsuhiko Miyagawa <miyagawa@gmail.com> wrote: Show quoted text
> On Sat, Feb 27, 2010 at 2:13 AM, Andreas Koenig via RT > <bug-Plack-Middleware-Session@rt.cpan.org> wrote:
>> >> The META.yml isn't authoritative. It would only be authoritative if the >> key dynamic_config were set to 0. But if it is missing it defaults to 1. >> Ugly invention, I know. >> >> So the installer must ignore META.yml except for configure_requires and >> see what the dependencies will be after Makefile.PL is run. And since >> Test::Exception is not in the Makefile.PL it is considered undeclared.
> > Well, sure, but i don't hand write META.yml -- Module::Install does > this for me and I have the line in Makefile.PL: > >  test_requires 'Test::Exception'; > > So how does it not write PREREQ to Makefile.PL? M::I bug? I believe I > use the latest. > > -- > Tatsuhiko Miyagawa >
-- Tatsuhiko Miyagawa