Skip Menu |

This queue is for tickets about the Data-Sah-Coerce-perl-date-str_alami_en CPAN distribution.

Report information
The Basics
Id: 130183
Status: open
Priority: 0/
Queue: Data-Sah-Coerce-perl-date-str_alami_en

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.009
Fixed in: (no value)



Subject: Only coercion rule module following metadata version 3 is supported
The test suite fails on some of my smokers: ... Only coercion rule module following metadata version 3 is supported, this rule module 'Data::Sah::Coerce::perl::date::str_alami_en' follows metadata version 4 and will not be used at /opt/perl-5.16.3/lib/site_perl/5.16.3/Data/Sah/CoerceCommon.pm line 230. # Failed test at t/perl-str_alami_en.t line 25. # Failed test at t/perl-str_alami_en.t line 26. # Failed test at t/perl-str_alami_en.t line 27. # Looks like you failed 3 tests of 5. # Failed test 'basics' # at t/perl-str_alami_en.t line 28. Only coercion rule module following metadata version 3 is supported, this rule module 'Data::Sah::Coerce::perl::date::str_alami_en' follows metadata version 4 and will not be used at /opt/perl-5.16.3/lib/site_perl/5.16.3/Data/Sah/CoerceCommon.pm line 230. # Failed test at t/perl-str_alami_en.t line 37. # got: '' # expected: 'DateTime' # Looks like you failed 1 test of 1. # Failed test 'coerce_to=DateTime' # at t/perl-str_alami_en.t line 39. Can't locate object method "ymd" via package "may 19, 2016" (perhaps you forgot to load "may 19, 2016"?) at t/perl-str_alami_en.t line 38. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 2. t/perl-str_alami_en.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests ... Also, a lot of other Data::Sah::Coerce* modules started to fail on some of my smoker systems.
On 2019-07-26 01:52:18, SREZIC wrote: Show quoted text
> The test suite fails on some of my smokers: > > ... > Only coercion rule module following metadata version 3 is supported, > this rule module 'Data::Sah::Coerce::perl::date::str_alami_en' follows > metadata version 4 and will not be used at /opt/perl- > 5.16.3/lib/site_perl/5.16.3/Data/Sah/CoerceCommon.pm line 230. > > # Failed test at t/perl-str_alami_en.t line 25. > > # Failed test at t/perl-str_alami_en.t line 26. > > # Failed test at t/perl-str_alami_en.t line 27. > # Looks like you failed 3 tests of 5. > > # Failed test 'basics' > # at t/perl-str_alami_en.t line 28. > Only coercion rule module following metadata version 3 is supported, > this rule module 'Data::Sah::Coerce::perl::date::str_alami_en' follows > metadata version 4 and will not be used at /opt/perl- > 5.16.3/lib/site_perl/5.16.3/Data/Sah/CoerceCommon.pm line 230. > > # Failed test at t/perl-str_alami_en.t line 37. > # got: '' > # expected: 'DateTime' > # Looks like you failed 1 test of 1. > > # Failed test 'coerce_to=DateTime' > # at t/perl-str_alami_en.t line 39. > Can't locate object method "ymd" via package "may 19, 2016" (perhaps > you forgot to load "may 19, 2016"?) at t/perl-str_alami_en.t line 38. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 2. > t/perl-str_alami_en.t .... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 2/2 subtests > ... > > Also, a lot of other Data::Sah::Coerce* modules started to fail on > some of my smoker systems.
Some of the others: * Data-Sah-Coerce-perl-date-str_alami_id-0.009 * Data-Sah-Coerce-perl-date-str_flexible-0.003 * Data-Sah-Coerce-perl-date-str_natural-0.007 * Data-Sah-Coerce-perl-duration-str_alami_en-0.004 * Data-Sah-Coerce-perl-duration-str_alami_id-0.004 * Data-Sah-Coerce-perl-str-str_to_cryptocurrency_code-0.004 * Data-Sah-Coerce-perl-str-str_to_cryptocurrency_safename-0.004 * Data-Sah-Coerce-perl-str-str_to_cryptoexchange_currency_pair-0.002 * Data-Sah-Coerce-perl-str-str_to_cryptoexchange_safename-0.004 * Data-Sah-Coerce-perl-str-str_to_currency_pair-0.002 * Data-Sah-Coerce-perl-str-str_to_fiat_or_cryptocurrency_code-0.002 * Data-Sah-Coerce-perl-str-str_toupper-0.003 * Data-Sah-Coerce-perl-str-str_trim-0.003 etc. Actually it seems that Data::Sah::Coerce 0.031 is not enough as a prereq. If 0.032 or newer is installed, then the error does not seem to happen.
On 2019-07-26 01:56:41, SREZIC wrote: Show quoted text
> On 2019-07-26 01:52:18, SREZIC wrote:
> > The test suite fails on some of my smokers: > > > > ... > > Only coercion rule module following metadata version 3 is supported, > > this rule module 'Data::Sah::Coerce::perl::date::str_alami_en' > > follows > > metadata version 4 and will not be used at /opt/perl- > > 5.16.3/lib/site_perl/5.16.3/Data/Sah/CoerceCommon.pm line 230. > > > > # Failed test at t/perl-str_alami_en.t line 25. > > > > # Failed test at t/perl-str_alami_en.t line 26. > > > > # Failed test at t/perl-str_alami_en.t line 27. > > # Looks like you failed 3 tests of 5. > > > > # Failed test 'basics' > > # at t/perl-str_alami_en.t line 28. > > Only coercion rule module following metadata version 3 is supported, > > this rule module 'Data::Sah::Coerce::perl::date::str_alami_en' > > follows > > metadata version 4 and will not be used at /opt/perl- > > 5.16.3/lib/site_perl/5.16.3/Data/Sah/CoerceCommon.pm line 230. > > > > # Failed test at t/perl-str_alami_en.t line 37. > > # got: '' > > # expected: 'DateTime' > > # Looks like you failed 1 test of 1. > > > > # Failed test 'coerce_to=DateTime' > > # at t/perl-str_alami_en.t line 39. > > Can't locate object method "ymd" via package "may 19, 2016" (perhaps > > you forgot to load "may 19, 2016"?) at t/perl-str_alami_en.t line 38. > > # Tests were run but no plan was declared and done_testing() was not > > seen. > > # Looks like your test exited with 255 just after 2. > > t/perl-str_alami_en.t .... > > Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 2/2 subtests > > ... > > > > Also, a lot of other Data::Sah::Coerce* modules started to fail on > > some of my smoker systems.
> > Some of the others: > * Data-Sah-Coerce-perl-date-str_alami_id-0.009 > * Data-Sah-Coerce-perl-date-str_flexible-0.003 > * Data-Sah-Coerce-perl-date-str_natural-0.007 > * Data-Sah-Coerce-perl-duration-str_alami_en-0.004 > * Data-Sah-Coerce-perl-duration-str_alami_id-0.004 > * Data-Sah-Coerce-perl-str-str_to_cryptocurrency_code-0.004 > * Data-Sah-Coerce-perl-str-str_to_cryptocurrency_safename-0.004 > * Data-Sah-Coerce-perl-str-str_to_cryptoexchange_currency_pair-0.002 > * Data-Sah-Coerce-perl-str-str_to_cryptoexchange_safename-0.004 > * Data-Sah-Coerce-perl-str-str_to_currency_pair-0.002 > * Data-Sah-Coerce-perl-str-str_to_fiat_or_cryptocurrency_code-0.002 > * Data-Sah-Coerce-perl-str-str_toupper-0.003 > * Data-Sah-Coerce-perl-str-str_trim-0.003 > etc. > > Actually it seems that Data::Sah::Coerce 0.031 is not enough as a > prereq. If 0.032 or newer is installed, then the error does not seem > to happen.
... and some modules not under Data::Sah::Coerce::* are also affected: * Sah-Schemas-Float-0.004 * Sah-Schemas-ISBN-0.006
Yes you're right, I forgot to bump Data::Sah::Coerce to 0.032 to recognize coercion rule module's metadata version 4. Will upload updated releases.