Skip Menu |

This queue is for tickets about the Try-Tiny CPAN distribution.

Report information
The Basics
Id: 123908
Status: resolved
Priority: 0/
Queue: Try-Tiny

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

Bug Information
Severity: Critical
Broken in: 0.28
Fixed in: 0.30



Subject: Bleadperl breaks Try-Tiny-0.28
As per subject. Xref: [perl #132594] I'm not sure whether rt.cpan.org expands the reference, so I provide the expansion here: https://rt.perl.org/Ticket/Display.html?id=132594 Since Try::Tiny is part of the toolchain I'm using for smoking bleadperl, I pull the Severity Critical. Feel free to ignore that fact, maybe I'll find a workaround.
On 2017-12-18 04:54:39, ANDK wrote: Show quoted text
> As per subject. Xref: [perl #132594] > > I'm not sure whether rt.cpan.org expands the reference, so I provide > the expansion here: https://rt.perl.org/Ticket/Display.html?id=132594 > > Since Try::Tiny is part of the toolchain I'm using for smoking > bleadperl, I pull the Severity Critical. Feel free to ignore that > fact, maybe I'll find a workaround.
I saw the BBC report and then got the smoker failure report: http://www.cpantesters.org/cpan/report/4714f732-e376-11e7-b821-b5e20e517b98 I haven't yet read through the changes on blead (code or docs, of which there seem to be a lot of both) to understand why Try::Tiny has failed or what needs to be adjusted to accomodate this change.
Meanwhile I ran a successful bisect which ended in first bad commit: [284a3526271b040abd48aef39f61e8bacbf16645] change "when" keyword to "whereso" So as a proof of concept I patched the test suite of Try::Tiny with perl -i~ -ple 's/when/whereso/g' t/when.t t/given_when.t and all tests pass.
I am pushing a release now which disables these tests of "when" for perl 5.27.7 *only*. Since it's possible the keywords will change to something else, I'm happy to revisit for 5.27.8.
CC: ANDK [...] cpan.org
Subject: Re: [rt.cpan.org #123908] Bleadperl breaks Try-Tiny-0.28
Date: Tue, 19 Dec 2017 05:11:20 +0100
To: "Karen Etheridge via RT" <bug-Try-Tiny [...] rt.cpan.org>
From: Andreas Koenig <andreas.koenig.7os6VVqR [...] franz.ak.mind.de>
What a coincidence, I just uploaded a distroprefs file to have a workaround https://github.com/andk/cpanpm/blob/master/distroprefs/ETHER.Try-Tiny.yml -- andreas
Now also true for Try-Tiny-0.29. Bleadperl sees itself now as 5.27.8. My distroprefs file is adjusted.
as o version 0.30, the affecte tests are skipped for perls >= 5.027007. If the syntax changes again in blead, I will address that then. I will also add new test files for the new syntax in time for the stable 5.30 release.