Closed ncopa closed 4 years ago
Thanks, @ncopa! I'm not all too familiar with Alpine. If I wanted to add a GitHub workflow that tested this on Alpine using Docker images, what would be the easiest way for me to replicate the above?
Am adding workflows in #104. That may help find the issue.
Looks like this is not specific to Alpine at all.
Seems to be here: https://metacpan.org/source/OALDERS/WWW-Mechanize-Cached-1.53/lib/WWW/Mechanize/Cached.pm#L193
It's expecting the header to be an arrayref
and it chokes when there's a scalar
.
So the problem is in WWW-Mechanize-Cached and should be fixed there?
Yes. I may get a fix in there today.
@ncopa Tested successfully against MetaCPAN-Client-2.026000 on Alpine linux
Still has an issue with HTTP::Tiny: but the test succeeds so it appears to be expected
t/ua_trap.t ................... Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/core_perl/HTTP/Tiny.pm line 602. t/ua_trap.t ................... ok
Thanks @timlegge. I have opened this issue with HTTP::Tiny: https://github.com/chansen/p5-http-tiny/issues/137. I can fix it on this end as well.
So, I need to release a new WWW::Mechanize::Cached and then fix the undef warning here, bump the version of WWW::Mechanize::Cached and then release a new MetaCPAN::Client. :)
I've uploaded a new MetaCPAN::Client
to CPAN. Let me know if you still have any issues. Thanks @ncopa and @timlegge!
I suspect some of the dependencies was updated and introduces a regression, but I don't know which or how to fix this.
Recent changes of dependencies in Alpine that may have introduced this: