szabgab / CPAN-Digger

CPAN Digger to analyze CPAN modules and other Perl-based applications
https://cpan-digger.perlmaven.com/
7 stars 3 forks source link

Failed to fetch 'https://api.metacpan.org/v0//release/_search': Gone #14

Closed eserte closed 3 years ago

eserte commented 3 years ago

On some of my smokers I see test failures like this:

    #   Failed test at t/00-test.t line 16.
    #          got: 'Failed to fetch 'https://api.metacpan.org/v0//release/_search': Gone at /usr/perl5.8.9/lib/site_perl/5.8.9/MetaCPAN/Client.pm line 289.
    # '
    #     expected: ''
    # Looks like you failed 1 test of 3.

#   Failed test 'recent_in_memory'
#   at t/00-test.t line 18.

    #   Failed test at t/00-test.t line 25.
    #          got: '65280'
    #     expected: '0'
... (etc) ...

This seems to happen if an old version of MetaCPAN::Client (<2.0?) is installed. Statistical analysis:

****************************************************************
Regression 'mod:MetaCPAN::Client'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']          -0.0000          0.0000      -0.48
[1='eq_1.025000']             0.0000          0.0000       4.17
[2='eq_2.025000']             1.0000          0.0000    3759745164898220.00
[3='eq_2.026000']             1.0000          0.0000    4019336648179724.00
[4='eq_2.027000']             1.0000          0.0000    4171062761451795.00
[5='eq_2.028000']             1.0000          0.0000    4305049589580323.00

R^2= 1.000, N= 84, K= 6
****************************************************************
szabgab commented 3 years ago

Thanks for reporting. A minimal version will be required in the next release.