Skip to content

fix: handle Test2::Harness::Util::IPC deprecation#338

Draft
Koan-Bot wants to merge 1 commit intocpan-authors:mainfrom
atoomic:koan.atoomic/fix-test-harness-ipc-deprecation
Draft

fix: handle Test2::Harness::Util::IPC deprecation#338
Koan-Bot wants to merge 1 commit intocpan-authors:mainfrom
atoomic:koan.atoomic/fix-test-harness-ipc-deprecation

Conversation

@Koan-Bot
Copy link
Copy Markdown
Contributor

What

Handle the Test2::Harness::Util::IPCTest2::Harness::IPC::Util rename gracefully in t/lib/Test/TMF.pm.

Why

On cpanel-perl 5.42, the deprecated module dies at compile time, causing import.t, plugin.t, and trace.t to fail with exit 255 (Closes #325).

How

Try the new module first, fall back to the old one. Both export run_cmd with the same interface.

Testing

🤖 Generated with Claude Code

Test2::Harness::Util::IPC was deprecated and replaced by
Test2::Harness::IPC::Util in newer versions. On cpanel-perl 5.42,
the deprecated module dies at compile time, causing import.t, plugin.t,
and trace.t to fail.

Try the new module first, fall back to the old one.

Closes cpan-authors#325

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build fail on cpanel-perl

1 participant