On Nov 4, 2007, at 6:46 PM, slaven@rezic.de via RT wrote:
Show quoted text>> We have tried this, and it doesn't work out either. If there's a
>> prereq list in meta.yml it's considered authoritive by many
>> sources (like
>> CPAN.pm) and it's simply _wrong_.
>
> I don't think this is true. Please check it again, at least CPAN.pm
> should not use the META.yml information unless dynamic_config is
> explicitely unset in the META.yml.
Indeed, it shouldn't. But it did. Checking my own changes, we made
the change to remove requires: information in Changeset 789,
09/08/06 12:58:20 (1 year ago).
The reason was that CPAN.pm didn't look anywhere else for prereqs
if requires: was defined.
Between the 1.8x and the 1.9x series of CPAN.pm, this has been fixed
judging by the CPAN.pm changelog and looking at diffs.
However, looking at corelist, it tells me that every version of perl
released so far has a CPAN.pm of < 1.90. That means all current perls
are affected by this and CPANPLUS is uninstallable using those CPAN.pms
if we ship with a META.yml containing requires:
CPAN was first released with perl 5.004
5.004 1.2401
5.00405 1.40
5.005 1.3901
5.00503 1.48
5.00504 1.48
5.006 1.52
5.006001 1.59_54
5.006002 1.59_54
5.007003 1.59_56
5.008 1.61
5.008001 1.76_01
5.008002 1.76_01
5.008003 1.76_01
5.008004 1.76_01
5.008005 1.76_01
5.008006 1.76_01
5.008007 1.76_01
5.008008 1.76_02
5.009 1.76_01
5.009001 1.76_01
5.009002 1.76_01
5.009003 1.83_58
Show quoted text> From scanning through CPANPLUS::Selfupdate, it seems that the
> "dependencies" hash is static. Or did I miss something?
The dependencies for a given feature/issue are static. However, whether
they are needed or not is determined by your config, and the config
looks
at your environmment & OS to determine it's settings.
I appreciate the time you spent looking into this, but it doesn't seem
like a smart move to trust solely on META.yml currently.
Cheers,
--
Jos Boumans
From kid's Superman costume for Halloween (stitched into the
cape's tag) -- "Warning: Use of This Device Does Not Enable
Wearer To Fly."
CPANPLUS
http://cpanplus.sf.net