-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carton removes required dependency info after carton update
#253
Comments
After
The difference --- /home/kes/t/del/monkeyman-update/cpanfile.snapshot.update.txt
+++ (clipboard)
@@ -121,6 +121,17 @@
URI 0
URI::Escape 0
perl 5.006
+ Any-Moose-0.26
+ pathname: E/ET/ETHER/Any-Moose-0.26.tar.gz
+ provides:
+ Any::Moose 0.26
+ requirements:
+ Carp 0
+ ExtUtils::MakeMaker 0
+ Moose 0
+ perl 5.006_002
+ strict 0
+ warnings 0
AnyEvent-7.15
pathname: M/ML/MLEHMANN/AnyEvent-7.15.tar.gz
provides: As you can see the info about installed To my mind the dependency info should be added in any case: |
subsequent command just fail with error:
If I manually patch --- a/cpanfile.snapshot
+++ b/cpanfile.snapshot
@@ -4282,6 +4282,14 @@ DISTRIBUTIONS
Scalar::Util 1.00
Test::More 0.99
XSLoader 0
+ Imager-File-PNG-0.94
+ pathname: T/TO/TONYC/Imager-File-PNG-0.94.tar.gz
+ provides:
+ Imager::File::PNG 0.94
+ requirements:
+ ExtUtils::MakeMaker 0
+ Imager 0.90
+ XSLoader 0
Import-Into-1.002005
pathname: H/HA/HAARG/Import-Into-1.002005.tar.gz
provides: I can run
and removes info about |
carton update
The try to workaround the problem by adding |
Trying to deploy install.txt snapshot cause error:
|
Interestig thing. When installing modules on clean machine I got next messages (I took interesting one):
Notice How to reproduce this experiment: I think |
I'm running into the same thing for Imager::File::(JPEG|PNG). Did you ever find a work-around? |
I have next cpanfile:
cpanfile.txt
When I clone my repo locally and I have no
local
directory yet. Theinstall
andupdate
installs different count of modules.The difference between this logs:
update.txt
install.txt
is:
but in both cases I have installed
local/lib/perl5/x86_64-linux/Imager/File/PNG.pm
file.The cpanfile.snapshot for both:
cpanfile.snapshot.install.txt
cpanfile.snapshot.update.txt
The most important part of this is that while
update
's cpanfile.snapshot does not contain info about Imager::File::PNG like'install
's cpanfile.snapshot does:Thus the deploying modules in production with
--deployment
option FAILS:The text was updated successfully, but these errors were encountered: