Skip to content
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

In cpanfile.snapshot, MailTools always records the desired version AND the latest version, fails carton install --deployment #274

Open
minusdavid opened this issue Dec 10, 2020 · 6 comments

Comments

@minusdavid
Copy link

If you specify Mail::Mailer in your cpanfile with a specific version, Carton will record MailTools with your specific version and it will also record the latest version, which causes "carton install --deployment" to fail.

@minusdavid
Copy link
Author

Note that you can't specify MailTools or else the following occurs:

! Couldn't find module or a distribution MailTools (== 2.04)

@minusdavid
Copy link
Author

minusdavid commented Dec 10, 2020

MailTools-2.04
pathname: M/MA/MARKOV/MailTools-2.04.tar.gz
provides:
Mail undef
Mail::Address 2.04
Mail::Cap 2.04
Mail::Field 2.04
Mail::Field::AddrList 2.04
Mail::Field::Date 2.04
Mail::Field::Generic 2.04
Mail::Filter 2.04
Mail::Header 2.04
Mail::Internet 2.04
Mail::Mailer 2.04
Mail::Mailer::qmail 2.04
Mail::Mailer::rfc822 2.04
Mail::Mailer::sendmail 2.04
Mail::Mailer::smtp 2.04
Mail::Mailer::smtp::pipe 2.04
Mail::Mailer::testfile 2.04
Mail::Mailer::testfile::pipe 2.04
Mail::Send 2.04
Mail::Util 2.04
requirements:
Date::Format 0
Date::Parse 0
ExtUtils::MakeMaker 0
IO::Handle 0
Net::Domain 1.05
Net::SMTP 1.03
Test::More 0
Test::Pod 1

MailTools-2.21
pathname: M/MA/MARKOV/MailTools-2.21.tar.gz
provides:
Mail::Address 2.21
Mail::Cap 2.21
Mail::Field 2.21
Mail::Field::AddrList 2.21
Mail::Field::Date 2.21
Mail::Field::Generic 2.21
Mail::Filter 2.21
Mail::Header 2.21
Mail::Internet 2.21
Mail::Mailer 2.21
Mail::Mailer::qmail 2.21
Mail::Mailer::rfc822 2.21
Mail::Mailer::sendmail 2.21
Mail::Mailer::smtp 2.21
Mail::Mailer::smtp::pipe 2.21
Mail::Mailer::smtps 2.21
Mail::Mailer::smtps::pipe 2.21
Mail::Mailer::testfile 2.21
Mail::Mailer::testfile::pipe 2.21
Mail::Send 2.21
Mail::Util 2.21
MailTools 2.21
requirements:
Date::Format 0
Date::Parse 0
ExtUtils::MakeMaker 0
IO::Handle 0
Net::Domain 1.05
Net::SMTP 1.03
Test::More 0

@minusdavid
Copy link
Author

If I manually edit the cpanfile.snapshot and remove MailTools 2.21, it will be re-added when I run the following:

carton install
Installing modules using /path/to/cpanfile
Complete! Modules were installed into /path/to/local

@minusdavid
Copy link
Author

carton v1.0.34

@minusdavid
Copy link
Author

This is pretty annoying. Fortunately, it's not a hugely important component, so I'll just try using MailTools 2.21 and see how I go...

@brunoramoslu
Copy link

Cannot reproduce this locally (Ubuntu+Perl 5.36.0) with carton v1.0.35.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants