{"action":"closed","issue":{"url":"https://api.github.com/repos/miyagawa/cpanminus/issues/476","labels_url":"https://api.github.com/repos/miyagawa/cpanminus/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/miyagawa/cpanminus/issues/476/comments","events_url":"https://api.github.com/repos/miyagawa/cpanminus/issues/476/events","html_url":"https://github.com/miyagawa/cpanminus/issues/476","id":119467249,"number":476,"title":"Ignore version restrictions in cpanfile","user":{"login":"powerman","id":1354301,"avatar_url":"https://avatars.githubusercontent.com/u/1354301?v=3","gravatar_id":"","url":"https://api.github.com/users/powerman","html_url":"https://github.com/powerman","followers_url":"https://api.github.com/users/powerman/followers","following_url":"https://api.github.com/users/powerman/following{/other_user}","gists_url":"https://api.github.com/users/powerman/gists{/gist_id}","starred_url":"https://api.github.com/users/powerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/powerman/subscriptions","organizations_url":"https://api.github.com/users/powerman/orgs","repos_url":"https://api.github.com/users/powerman/repos","events_url":"https://api.github.com/users/powerman/events{/privacy}","received_events_url":"https://api.github.com/users/powerman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-30T10:49:16Z","updated_at":"2015-11-30T19:51:31Z","closed_at":"2015-11-30T19:51:31Z","body":"I've this issue only on Travis CI builds which use OS image for Go, not for Perl. This image contains perl 5.14.2 and I install there cpanm 1.7039.\r\nAt same time Travis builds which use OS image for Perl 5.14 contains perl 5.14.4 and cpanm 1.7024 and it doesn't have this issue.\r\nAnd I don't have this issue with cpanm 1.7039 on perl 5.22.0.\r\nSo I suppose problem may be not in cpanm itself, but in some other Perl modules which it use, and which may differs in that old perl 5.14.2 or specifically on that OS image - if you'll have an idea which module may affect this issue then I can compare it versions in these OS images.\r\n\r\nMy .travis.yml contains:\r\n```yml\r\nsudo: false\r\n\r\nlanguage: go\r\n\r\nbefore_install:\r\n  - export PATH=\"$HOME/perl5/bin:$PATH\"\r\n  - perl --version\r\n  - curl -L https://cpanmin.us | perl - App::cpanminus\r\n  - cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)\r\n  - cpanm -nq File::Spec\r\n  - cpanm -nq Narada\r\n```\r\nAnd [cpanfile in Narada-2.3](https://github.com/powerman/Narada/blob/v2.3/cpanfile#L13) contains:\r\n```perl\r\nrequires 'Perl6::Export::Attrs', '!= 0.0.4, != 0.0.5';\r\n```\r\nBut it installs Perl6::Export::Attrs-0.0.5 on that OS image:\r\n```\r\nUsing worker: worker-linux-docker-67092cd9.prod.travis-ci.com:travis-linux-3\r\n\r\nBuild system information\r\nBuild language: go\r\nBuild group: stable\r\nBuild dist: precise\r\nBuild image provisioning date and time\r\nThu Feb  5 15:09:33 UTC 2015\r\nOperating System Details\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 12.04.5 LTS\r\nRelease:\t12.04\r\nCodename:\tprecise\r\nLinux Version\r\n3.13.0-29-generic\r\n…\r\n$ export PATH=\"$HOME/perl5/bin:$HOME/runit:$PATH\"\r\n$ perl --version\r\n\r\nThis is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi\r\n(with 57 registered patches, see perl -V for more detail)\r\n\r\nCopyright 1987-2011, Larry Wall\r\n\r\nPerl may be copied only under the terms of either the Artistic License or the\r\nGNU General Public License, which may be found in the Perl 5 source kit.\r\n\r\nComplete documentation for Perl, including FAQ lists, should be found on\r\nthis system using \"man perl\" or \"perldoc perl\".  If you have access to the\r\nInternet, point your browser at http://www.perl.org/, the Perl Home Page.\r\n\r\n$ curl -L https://cpanmin.us | perl - App::cpanminus\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100   314    0   314    0     0    748      0 --:--:-- --:--:-- --:--:--   769\r\n100  296k  100  296k    0     0   540k      0 --:--:-- --:--:-- --:--:--  540k\r\n!\r\n! Can't write to /usr/local/share/perl/5.14.2 and /usr/local/bin: Installing modules to /home/travis/perl5\r\n! To turn off this warning, you have to do one of the following:\r\n!   - run me as a root or with --sudo option (to install to /usr/local/share/perl/5.14.2 and /usr/local/bin)\r\n!   - Configure local::lib your existing local::lib in this shell to set PERL_MM_OPT etc.\r\n!   - Install local::lib by running the following commands\r\n!\r\n!         cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)\r\n!\r\n--> Working on App::cpanminus\r\nFetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7039.tar.gz ... OK\r\n==> Found dependencies: ExtUtils::MakeMaker\r\n--> Working on ExtUtils::MakeMaker\r\nFetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-7.10.tar.gz ... OK\r\nConfiguring ExtUtils-MakeMaker-7.10 ... OK\r\nBuilding ExtUtils-MakeMaker-7.10 ... OK\r\nSuccessfully installed ExtUtils-MakeMaker-7.10 (upgraded from 6.57_05)\r\nConfiguring App-cpanminus-1.7039 ... OK\r\nBuilding and testing App-cpanminus-1.7039 ... OK\r\nSuccessfully installed App-cpanminus-1.7039\r\n2 distributions installed\r\n$ cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)\r\n--> Working on local::lib\r\nFetching http://www.cpan.org/authors/id/H/HA/HAARG/local-lib-2.000018.tar.gz ... OK\r\nConfiguring local-lib-2.000018 ... OK\r\nBuilding and testing local-lib-2.000018 ... OK\r\nSuccessfully installed local-lib-2.000018\r\n1 distribution installed\r\nAttempting to create directory /home/travis/perl5\r\n$ cpanm -nq File::Spec\r\nSuccessfully installed PathTools-3.60 (upgraded from 3.33)\r\n1 distribution installed\r\n$ cpanm -nq Narada\r\nSuccessfully installed Number-Compare-0.03\r\nSuccessfully installed Text-Glob-0.09\r\nSuccessfully installed File-Find-Rule-0.33\r\nSuccessfully installed Data-Compare-1.25\r\nSuccessfully installed Devel-CheckOS-1.76\r\nSuccessfully installed Sub-Identify-0.12\r\nSuccessfully installed SUPER-1.20141117\r\nSuccessfully installed Test-MockModule-0.11\r\nSuccessfully installed Test-Pod-1.51\r\nSuccessfully installed Test-Harness-3.35\r\nSuccessfully installed ExtUtils-Helpers-0.022\r\nSuccessfully installed ExtUtils-Config-0.008\r\nSuccessfully installed ExtUtils-InstallPaths-0.011\r\nSuccessfully installed Module-Build-Tiny-0.039\r\nSuccessfully installed App-powerdiff-v1.0.0\r\nSuccessfully installed CPAN-Meta-YAML-0.016 (upgraded from 0.008)\r\nSuccessfully installed Parse-CPAN-Meta-1.4417 (upgraded from 1.4405)\r\nSuccessfully installed CPAN-Meta-2.150005 (upgraded from 2.120351)\r\nSuccessfully installed Module-Build-0.4214 (upgraded from 0.3800)\r\nSuccessfully installed MCE-1.608\r\nSuccessfully installed File-Remove-1.52\r\nSuccessfully installed Test-Object-0.07\r\nSuccessfully installed Test-Simple-1.001014\r\nSuccessfully installed Test-NoWarnings-1.04\r\nSuccessfully installed Params-Util-1.07\r\nSuccessfully installed Hook-LexWrap-0.25\r\nSuccessfully installed Test-SubCalls-1.09\r\nSuccessfully installed Exporter-Tiny-0.042\r\nSuccessfully installed List-MoreUtils-0.413\r\nSuccessfully installed Task-Weaken-1.04\r\nSuccessfully installed IO-String-1.08\r\nSuccessfully installed Clone-0.38\r\nSuccessfully installed Class-Inspector-1.28\r\nSuccessfully installed PPI-1.220\r\nSuccessfully installed B-Keywords-1.15\r\nSuccessfully installed Test-Deep-1.120\r\nSuccessfully installed Readonly-2.00\r\nSuccessfully installed Devel-StackTrace-2.00\r\nSuccessfully installed Class-Data-Inheritable-0.08\r\nSuccessfully installed Exception-Class-1.39\r\nSuccessfully installed PPIx-Utilities-1.001000\r\nSuccessfully installed File-Which-1.19\r\nSuccessfully installed File-HomeDir-1.00\r\nSuccessfully installed File-ShareDir-Install-0.10\r\nSuccessfully installed Sub-Install-0.928\r\nSuccessfully installed Data-OptList-0.109\r\nSuccessfully installed Sub-Exporter-0.987\r\nSuccessfully installed Role-Tiny-2.000001\r\nSuccessfully installed Module-Runtime-0.014\r\nSuccessfully installed Class-Tiny-1.004\r\nSuccessfully installed Path-Tiny-0.076\r\nSuccessfully installed Path-IsDev-1.001002\r\nSuccessfully installed Path-FindDev-0.5.2\r\nSuccessfully installed File-ShareDir-1.102\r\nSuccessfully installed File-ShareDir-ProjectDistDir-1.000008\r\nSuccessfully installed Lingua-EN-Inflect-1.899\r\nSuccessfully installed Pod-Spell-1.17\r\nSuccessfully installed Perl-Tidy-20150815\r\nSuccessfully installed String-Format-1.17\r\nSuccessfully installed PPIx-Regexp-0.043\r\nSuccessfully installed Config-Tiny-2.23\r\nSuccessfully installed Email-Address-1.908\r\nSuccessfully installed Perl-Critic-1.126\r\nSuccessfully installed Test-Perl-Critic-1.03\r\nSuccessfully installed Scalar-List-Utils-1.42 (upgraded from 1.23)\r\nSuccessfully installed App-migrate-v0.2.1\r\nSuccessfully installed Capture-Tiny-0.30\r\nSuccessfully installed Test-Output-1.03\r\nSuccessfully installed YAML-Tiny-1.69\r\nSuccessfully installed Test-Database-1.113\r\nSuccessfully installed Devel-Symdump-2.15\r\nSuccessfully installed Pod-Coverage-0.23\r\nSuccessfully installed Test-Pod-Coverage-1.10\r\nSuccessfully installed Sub-Uplevel-0.25\r\nSuccessfully installed Test-Exception-0.40\r\nSuccessfully installed Sys-Syslog-0.33 (upgraded from 0.27)\r\nSuccessfully installed Log-Fast-1.000006\r\nSuccessfully installed Perl6-Export-Attrs-0.000005\r\nSuccessfully installed Text-Diff-1.43\r\nSuccessfully installed Test-Differences-0.64\r\nSuccessfully installed File-Copy-Recursive-0.38\r\nSuccessfully installed Test-CheckManifest-1.29\r\nSuccessfully installed Narada-v2.3\r\n83 distributions installed\r\n```"}}