ci: use cpanm for Perl matrix to fix 5.16-5.22#393
Draft
Koan-Bot wants to merge 1 commit into
Draft
Conversation
cpm's main branch now requires Perl 5.24+, breaking CI for Perl 5.16-5.22 in the docker container matrix. Switch to cpanm which works on all supported Perl versions. Only the linux matrix job is changed — the ubuntu and disttest jobs use system Perl (5.34+) where cpm still works fine. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced May 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Switch the linux Perl matrix job from
install-with-cpmtoinstall-with-cpanm.Why
cpm's
mainbranch now requires Perl 5.24+, which breaks dependency installationfor Perl 5.16, 5.18, 5.20, and 5.22 in CI. All 4 versions fail at the
"Install Dependencies" step with:
cpanm has no such minimum version requirement and works on all supported Perls.
How
One-line change in
.github/workflows/testsuite.yml:install-with-cpm@v1→install-with-cpanm@v1for the container matrix job only. The
ubuntuanddisttestjobs (system Perl 5.34+) still use cpm.Testing
CI should go green on 5.16-5.22 once this merges. 5.24+ were already passing.
🤖 Generated with Claude Code
Quality Report
Changes: 1 file changed, 1 insertion(+), 1 deletion(-)
Code scan: clean
Tests: passed (OK)
Branch hygiene: clean
Generated by Kōan post-mission quality pipeline