Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 50505
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: MetaYML vs optional_features
Date: Thu, 15 Oct 2009 09:19:34 +1100
To: bug-Module-CPANTS-Analyse [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
I think the MetaYML tests are reporting a fail "metayml_conforms_to_known_spec" on any META.yml containing an "optional_tests" section. I think this is a bug in Test::YAML::Meta (RT 47393) in its recognition of the optional_features format. If that gets fixed it'd be worth depending on a new enough Test::YAML::Meta so as not to give false "metayml_conforms_to_known_spec" failures. In fact in the interim it could be well worth disabling or reducing the test, so as not to send everyone digging around for what's wrong with their META.yml when in fact it's ok. (A wound back test might for instance merely check that the YAML module can read the file, without worrying about the contents.)
This has now been fixed in Test-YAML-Meta, so should need a new version installing on the CPANTS server.
On Mon Dec 07 16:13:21 2009, BARBIE wrote:
Show quoted text
> This has now been fixed in Test-YAML-Meta, so should need a new version
> installing on the CPANTS server.

The CPANTS server seems to be using Test-YAML-Meta-0.11.

Besides the problem listed above, this is generating errors like:

'v1.1.1' for 'perl' is not a valid version. (requires -> perl) [Validation: 1.4]


This issue has long been fixed, and the latest version of Test::CPAN::Meta::YAML is a prereq of Module::CPANTS::Analyse now. Thanks. On Thu Oct 15 07:19:59 2009, user42@zip.com.au wrote: Show quoted text
> I think the MetaYML tests are reporting a fail > "metayml_conforms_to_known_spec" on any META.yml containing an > "optional_tests" section. I think this is a bug in Test::YAML::Meta (RT > 47393) in its recognition of the optional_features format. > > If that gets fixed it'd be worth depending on a new enough > Test::YAML::Meta so as not to give false > "metayml_conforms_to_known_spec" failures. In fact in the interim it > could be well worth disabling or reducing the test, so as not to send > everyone digging around for what's wrong with their META.yml when in > fact it's ok. (A wound back test might for instance merely check that > the YAML module can read the file, without worrying about the contents.)