Skip to content

fix: correct min version check and remove dead import - #41

Draft
Koan-Bot wants to merge 1 commit into
atoomic:masterfrom
Koan-Bot:koan.atoomic/fix-min-version-check
Draft

fix: correct min version check and remove dead import#41
Koan-Bot wants to merge 1 commit into
atoomic:masterfrom
Koan-Bot:koan.atoomic/fix-min-version-check

Conversation

@Koan-Bot

@Koan-Bot Koan-Bot commented May 3, 2026

Copy link
Copy Markdown
Contributor

What

Fixes dist.ini max_target_perl and removes dead code from perlstring.t.

Why

[Test::MinimumVersion] had max_target_perl = 5.010 but the declared MIN_PERL_VERSION is 5.008. This means xt/release/minimum-version.t would not flag accidental use of 5.010-only features (e.g. //, say), silently breaking 5.008 support.

The threads import in perlstring.t was dead code — thread testing lives in t/threads.t.

How

  • max_target_perl changed from 5.010 to 5.008 in dist.ini
  • Removed BEGIN { eval { require threads; threads->import; } } from perlstring.t

Testing

make test passes. The min-version check will now correctly enforce 5.008 compatibility during author releases.

🤖 Generated with Claude Code

- dist.ini max_target_perl was 5.010 but MIN_PERL_VERSION is 5.008.
  Test::MinimumVersion would miss accidental use of 5.010 features.
- Remove unused threads import from perlstring.t (thread testing
  lives in t/threads.t).
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.

1 participant