houseabsolute / DateTime-Locale

Localization support for DateTime.pm
https://metacpan.org/release/DateTime-Locale/
Other
3 stars 12 forks source link

Tests fail on 5.30.3 because of mis-declared dependency version. #35

Closed DrHyde closed 1 year ago

DrHyde commented 1 year ago

See the failure here.

version-check.t fails thus:

Test2 version 1.302167 required--this is only version 1.302162 at /System/Library/Perl/Extras/5.30/Test2/Plugin/NoWarnings.pm line 9.
BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.30/Test2/Plugin/NoWarnings.pm line 9.
Compilation failed in require at t/version-check.t line 5.
BEGIN failed--compilation aborted at t/version-check.t line 5.

NB that this is a compile-time error, not an actual test failure. In TEST_REQUIRES you have:

    "Test2::V0" => 0,
    ...
    "Test::More" => "1.302015",

so it looks like the declared version dependency is satisfied (my 1.302162 is more recent than 1.302015), and that any "fresh out of the box" 5.30.x will be affected.

autarch commented 1 year ago

This is coming from Test2::Plugin::NoWarnings, not DateTime::Locale:

Test2 version 1.302167 required--this is only version 1.302162 at /System/Library/Perl/Extras/5.30/Test2/Plugin/NoWarnings.pm line 9.

But the requirement in the Test2-Plugin-NoWarnings distro is for Test2 1.302167. So I don't understand why this wasn't installed for you.

autarch commented 1 year ago

I'm going to close this since whatever's going on I'm quite sure it's not a bug in DateTime-Locale.