Skip to content

Sets minimum Perl version to v5.26.0 (Zonemaster-LDNS)#228

Merged
matsduf merged 1 commit intozonemaster:developfrom
matsduf:update-minimum-perl-version
Jun 10, 2025
Merged

Sets minimum Perl version to v5.26.0 (Zonemaster-LDNS)#228
matsduf merged 1 commit intozonemaster:developfrom
matsduf:update-minimum-perl-version

Conversation

@matsduf
Copy link
Contributor

@matsduf matsduf commented Jun 9, 2025

Purpose

zonemaster/zonemaster-cli#421 requires Perl version to be v5.26, and to meet that zonemaster/zonemaster#1387 documents lowest Perl version to be v5.26. To be consistent all Zonemaster Perl components should require the same minimum version.

This PR updates Makefile.PL to require v5.26.0, which makes cpanm refuse to install if the Perl version is lower.

An alternative would be to add use v5.26 to all Zonemaster Perl modules.

When (if) this PR is approved, RRs for the other components will be created.

To consider

Is this a breaking change? The version is not higher than the lowest version of Perl in the tested OSs in the last couple of releases.

Context

How to test this PR

Review. Try to install on a system with lower version of Perl (should fail) and another with that version of Perl or higher (should pass).

@matsduf matsduf added this to the v2025.1 milestone Jun 9, 2025
@matsduf matsduf added the V-Major Versioning: The change gives an update of major in version. label Jun 9, 2025
@matsduf matsduf changed the title Sets minimum Perl version to v5.26.0 Sets minimum Perl version to v5.26.0 (Zonemaster-LDNS) Jun 10, 2025
@tgreenx
Copy link
Contributor

tgreenx commented Jun 10, 2025

Is this a breaking change? The version is not higher than the lowest version of Perl in the tested OSs in the last couple of releases.

I'd argue no. I think we can lower it to "minor" at most.

@tgreenx tgreenx added V-Minor Versioning: The change gives an update of minor in version. and removed V-Major Versioning: The change gives an update of major in version. labels Jun 10, 2025
@matsduf
Copy link
Contributor Author

matsduf commented Jun 10, 2025

Is this a breaking change? The version is not higher than the lowest version of Perl in the tested OSs in the last couple of releases.

I'd argue no. I think we can lower it to "minor" at most.

I do not agree to "minor".

  • Either it is a breaking change, and then it is a "major".
  • Or it is not, and then it is a "patch".
  • To be a "minor" it should add new functionality, and it does not.

@matsduf matsduf added V-Patch Versioning: The change gives an update of patch in version. and removed V-Minor Versioning: The change gives an update of minor in version. labels Jun 10, 2025
@matsduf matsduf merged commit fe58127 into zonemaster:develop Jun 10, 2025
3 checks passed
@matsduf matsduf deleted the update-minimum-perl-version branch June 10, 2025 16:11
@matsduf matsduf added V-Major Versioning: The change gives an update of major in version. and removed V-Patch Versioning: The change gives an update of patch in version. labels Jun 25, 2025
@matsduf
Copy link
Contributor Author

matsduf commented Jun 25, 2025

Raised to V-Major at release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

V-Major Versioning: The change gives an update of major in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants