Re: test_requires

[email protected] (Adam Kennedy)
Newsgroups perl.module.build
Message-ID <[email protected]>
Eric Wilhelm wrote:
> # from David Golden on Tuesday 20 May 2008:
>   
>> On Tue, May 20, 2008 at 11:03 PM, Adam Kennedy
>>     
>>> Personally, I'd like to see configure_requires: finalised first
>>> before we start dealing with test_requires, so that we have the
>>> option of solutions that themselves leverage configure_requires:
>>>       
>> +1
>>     
>
> That sounds reasonable.  In fact, I would like to see something that 
> allows META.yml to require compatibility with a given version of the 
> META.yml spec.
>
> Taking 'test_requires:' as an example, note that any older installer 
> will not be looking at that key and the tests will fail, so one would 
> have to list those prereqs in 'requires:' for backward compatibility, 
> but then that muddles the desired distinction.

Indeed. This is one of the main reasons we failed to achieve any 
consensus in Oslo.

The moderate value of creating the distinction wasn't really large 
enough to overcome the rather ugly back-compatibility issues.

That said, it's possible that we might be able to fix this problem with 
METALOCAL.yml...

Adam K
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.