Subject: | CPANPLUS does not parse v-strings (v1.2.3) in dependencies |
I was testing File-Pairtree-v0.302.0 a few weeks back, and got the
following output:
Warning: prerequisite File::Namaste v0.260.0 not found.
Warning: prerequisite File::OM 0.21 not found.
Warning: prerequisite File::Value v0.250.0 not found.
Writing Makefile for File::Pairtree
[MSG] Module 'File::Pairtree' requires 'File::Namaste' version '0.0' to
be installed
[MSG] Module 'File::Pairtree' requires 'File::OM' version '0.21' to be
installed
[MSG] Module 'File::Pairtree' requires 'File::Value' version '0.0' to be
installed
CPANPLUS is not parsing the versions for File::Namaste and File::Value.
The result is that CPANPLUS will not upgrade these prerequisites, if an
older version exists.
I've changed the version code to use the version module in these cases.
My changes are visible at: https://github.com/jeroenl/cpanplus-
devel/commit/4ecd894cb31f6efe1260451b7afade6e45ae6f9a
I'll submit a pull request.