Subject: | Test-Simple-0.18 and Test-More-0.18 is provided forcibly when using under carton. |
Date: | Fri, 6 Jun 2014 18:39:28 +0900 |
To: | bug-PostScript-Simple [...] rt.cpan.org |
From: | satoshi azuma - ytnobody <ytnobody [...] gmail.com> |
Hello.
I use PostScript-Simple under carton. And, I'm encountered the problem.
As prepare, change current directory to project-root.
First, run "carton install --deployment" to install dependent modules
for deployment.
Next, run ''carton check" to check dependency. And the problem
appeared in this step as followings.
Following dependencies are not satisfied.
Test::Simple has version 0.18. Needs 0.98
Test::More has version 0.18. Needs 0.98
Run `carton install` to install them.
I traced about this problem, and I found Test-More-0.18 and
Test-Simple-0.18 from t/lib of PostScript-Simple-0.07.
It creates some unwanted "provide" sections into cpanfile.snapshot via
carton, as followings.
PostScript-Simple-0.07
pathname: M/MC/MCNEWTON/PostScript-Simple-0.07.tar.gz
provides:
PostScript::Simple 0.07
PostScript::Simple::EPS 0.01
Test::More 0.18
Test::Simple 0.18
Test::Utils 0.02
requirements:
ExtUtils::MakeMaker 0
I think, PostScript-Simple must not provide Test::* modules. Because,
PostScript-Simple is not the module for testing.
I have a solution for resolving this problem.
First, remove t/lib recursively.
Next, Add PREREQ_PM section into Makefile.PL, as followings.
'PREREQ_PM' => {
Test::More => '0.18',
},
Best regards.
--
Satoshi Azuma
PAUSE: YTURTLE
twitter: @ytnobody
mail: ytnobody@gmail.com