This is indeed intentional.
Because configuration via Makefile.PL is turing-complete, there's
absolutely nothing that can be done to avoid differing dependencies.
For example, some modules need different modules on Windows and Unix,
the dep for the author will be the only one included. There's no good
way to fix this, hence the need for MYMETA.yml.
I think we are content with this situation to continue at the moment.
Adam K
On 24 May 2011 21:24, Ruslan Zakirov via RT
<bug-Module-Install@rt.cpan.org> wrote:
Show quoted text> Queue: Module-Install
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=68348 >
>
> Hello Adam,
>
> May be I was not clear. Problem I was describing is that content of
> META.yml file depends on configuration of author's system. Don't mind
> module X to be listed in META.yml even if it's optional requirement. I
> just believe it should be there all the time even if author has no
> this module at the moment.
>
> On Tue, May 24, 2011 at 2:37 PM, Reserved Local Account via RT
> <bug-Module-Install@rt.cpan.org> wrote:
>> <URL:
https://rt.cpan.org/Ticket/Display.html?id=68348 >
>>
>> This is intentional, and it the precise reason why META.yml is
>> considered advisory and MYMETA.yml is considered authorative when it
>> comes to dependencies.
>>
>> Adam K
>>
>> On 21 May 2011 02:50, Ruslan Zakirov via RT
>> <bug-Module-Install@rt.cpan.org> wrote:
>>> Fri May 20 12:50:31 2011: Request 68348 was acted upon.
>>> Transaction: Ticket created by ruz@bestpractical.com
>>> Queue: Module-Install
>>> Subject: optionaly required modules inlisted in META.yml depending on author's system
>>> Broken in: (no value)
>>> Severity: (no value)
>>> Owner: Nobody
>>> Requestors: ruz@bestpractical.com
>>> Status: new
>>> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=68348 >
>>>
>>>
>>> Example from a CPAN distribution:
>>>
>>> features(
>>> 'Lower case API' => [
>>> -default => 0,
>>> 'capitalization' => '0.03',
>>> ],
>>> 'Schema generation' => [
>>> -default => 1,
>>> 'DBIx::DBSchema' => '',
>>> 'Class::Accessor' => '',
>>> ],
>>> );
>>> auto_install();
>>>
>>> If capitalization module is not installed on author's system then it's
>>> not listed in META.yml and listed if installed.
>>> MYMETA is not affected.
>>>
>>> --
>>> Best regards, Ruslan.
>>>
>>>
>>
>>
>
>
>
> --
> Best regards, Ruslan.
>
>