You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding the new module using carton install in the same directory adds contents to cpanfile.snapshot, resulting in the following file: https://paste.debian.net/hidden/20288834/
This cpanfile.snapshot file is unusable for deployment (in a new directory):
The issue is the system EUMM is 6.63_02, predating TEST_REQUIRES in 6.63_03. Installing GeoIP2 with EUMM older than that installs Test::Number::Delta and Path::Class always; with later it knows they're needed for tests only.
So the first carton install installs updated EUMM as part of its work. The second carton install then uses that EUMM which knows Test::Number::Delta and Path::Class aren't needed, so doesn't add them to snapshot. The deployment call in a new directory is then using the system EUMM again, and so tries to find and install them, and cannot.
Running carton install --deployment a second time succeeds (discussed on IRC) as it's using the carton-installed EUMM again.
Updating the ExtUtils::MakeMaker in the perl installation where carton itself is installed (in my case it's a perlbrew perl) makes everything work consistently, although I am not sure if this counts as a solution or a workaround.
Steps to reproduce:
carton install
to generate the following snapshot:https://paste.debian.net/hidden/d6de656f/
carton install
in the same directory adds contents to cpanfile.snapshot, resulting in the following file:https://paste.debian.net/hidden/20288834/
The text was updated successfully, but these errors were encountered: