Skip Menu |

This queue is for tickets about the MooseX-Types-DateTime CPAN distribution.

Report information
The Basics
Id: 73189
Status: resolved
Priority: 0/
Queue: MooseX-Types-DateTime

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: enforce dep versions
Date: Mon, 12 Dec 2011 11:35:58 +0000
To: bug-MooseX-Types-DateTime [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
MX:T:DT's Makefile.PL declares a bunch of prerequisite versions, such as DateTime 0.4302, which MX/T/DT.pm then doesn't enforce at runtime. The result is that if a prerequisite upgrade fails then an installer such as CPAN.pm may go on and try to run MX:T:DT anyway, and the module won't necessarily complain about the missing prereq. It won't actually notice a problem unless the test suite happens to run into whatever way the older version of the prereq is inadequate, and in that case the error message won't make the nature of the problem clear. The "use" lines should always enforce version requirements. Makefile.PL should then declare what the "use" lines require. These two are not substitutes for each other. -zefram
Fixed in v0.07