Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 113704
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.1704-TRIAL



Subject: Single test fails on < 5.10 when Class::C3::XS is not available - suggesting a hard-skip
The following fails reliably on any 5.8.x: PERL5OPT="-MDevel::Hide=Class::C3::XS" prove -b t/cmop/methods.t Given Moose is dynamic_requires => 0, it is a no-go to hard-require C::C3::XS on older perls. I suggest just skipping the test in this scenario (it seems to not affect any Moose consuming code I tested on this configuration). This was uncovered during https://github.com/dbsrgits/dbix-class/commit/179566f3, with the chain of events being: - https://github.com/dbsrgits/dbix-class/blob/179566f3/maint/travis-ci_scripts/30_before_script.bash#L59 - Install MRO::Compat, pulling in Class::C3 with no ::XS, as it is optional - Run tests - https://github.com/dbsrgits/dbix-class/blob/179566f3/maint/travis-ci_scripts/50_after_success.bash#L15 - Install Moose as part of the post-test curiculum
I created https://rt.cpan.org/Ticket/Display.html?id=113722. This will go out in Moose-2.1703-TRIAL, to be released before the end of April. If you need this right away let me know and I'll fork off a stable release.
On 2016-04-12 15:09:52, ETHER wrote: Show quoted text
> I created https://rt.cpan.org/Ticket/Display.html?id=113722. > > This will go out in Moose-2.1703-TRIAL, to be released before the end > of April. If you need this right away let me know and I'll fork off a > stable release.
Correction, 2.17xx will *go stable* before the end of April. The actual trial release will probably be later today.
released as Moose-2.1703-TRIAL.
This was a real issue, so skipping the test was the wrong solution. I've filed a PR with a fix at https://github.com/moose/Moose/pull/122, including a test case that failed on modern perls.
This has been merged and released as 2.1704-TRIAL. thanks!