Skip Menu |

This queue is for tickets about the Astro-FITS-Header CPAN distribution.

Report information
The Basics
Id: 81113
Status: open
Priority: 0/
Queue: Astro-FITS-Header

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

Bug Information
Severity: Unimportant
Broken in: 3.07
Fixed in: (no value)



Subject: 3.07 distro contains version 3.04 of Header.pm
Hi, Not sure if this is, technically, a bug but it's rather unorthodox to have a lib/Astro/FITS/Header.pm that reports itself as 3.04 in an Astro- FITS-Header-3.07 distro ... and it's more than enough to confuse me ;-) Cheers, Rob
It's deliberate as 3.07 didn't include any changes to Astro::FITS::Header. It seemed like the logical thing to do at the time although I notice that it confuses cpanm if you ask to update Astro::FITS::Header because it doesn't know anything about distributions.

On 2012-11-13 05:58:07, TJENNESS wrote:
> It's deliberate as 3.07 didn't include any changes to
> Astro::FITS::Header. It seemed like the
> logical thing to do at the time although I notice that it confuses
> cpanm if you ask to update
> Astro::FITS::Header because it doesn't know anything about
> distributions.


This because CPAN dependencies don't work using distributions, they're specified using module names.

At runtime, there are no distributions, only modules.

Usually there's a degree of acceptability with non-main-modules not tracking DIST-VERSION. Its discouraged, but it works.

 

But MAIN_MODULE not tracking DIST_VERSION is rather weird and likely to cause headaches.

 

Addressed as part of a proposed switch to using EUMM: https://github.com/timj/perl-Astro-FITS-Header/pull/1