I noticed the LORIS-MRI Docker image was no longer building in CI for #1191. After some investigation, it appears to be because of an update in Module::Pluggable (the first in 9 years !), which some of our required packages depend on (notably DateTime, but also others I think). This PR fixes the issue by pinning the version of Module::Pluggable to version 5.2.
During the investigation of this PR, I also changed our pipeline to use cpan instead of cpanm, which seems to be the recommended package installer by the Perl community. It provides both a much clearer output (no longer literal tens of thousands of lines) and is faster by approximately 5 minutes.
I noticed the LORIS-MRI Docker image was no longer building in CI for #1191. After some investigation, it appears to be because of an update in Module::Pluggable (the first in 9 years !), which some of our required packages depend on (notably DateTime, but also others I think). This PR fixes the issue by pinning the version of Module::Pluggable to version 5.2.
During the investigation of this PR, I also changed our pipeline to use
cpan
instead ofcpanm
, which seems to be the recommended package installer by the Perl community. It provides both a much clearer output (no longer literal tens of thousands of lines) and is faster by approximately 5 minutes.