Perl minimum version #23557
Replies: 16 comments 1 reply
-
We may have different requirements for running Configure and running tests. It may be worth keeping the Configure version as low as possible to make possible building on legacy platforms |
Beta Was this translation helpful? Give feedback.
-
I habitually check that any perl module is a core module since 5.10 or before. The command |
Beta Was this translation helpful? Give feedback.
-
Some food for thought:
It's not something I need currently but the fact that we can't handle JSON in our primary build automation and codegen scripting language feels a bit strange. I noticed this while developing CI tests for qlog. |
Beta Was this translation helpful? Give feedback.
-
I could certainly see an update of the minimum perl version. Glancing at Wikipedia, I can see several options (all just as arbitrary):
I wouldn't go further than that for now, as people with legacy systems (which OpenSSL is still renowned for supporting) will scream bloody murder the more modern the minimum requirement becomes. |
Beta Was this translation helpful? Give feedback.
-
Something to note is that when we decided to set the perl minimum version to 5.10.0, it was just a little more than 8 years old. Refs:
|
Beta Was this translation helpful? Give feedback.
-
I can confirm that the supported versions of perl on NonStop are more recent. ia64 stops at 5.26.3 (beyond that, we are off the map), and x86 are at 5.26.3 through 5.30 for most recent. 5.30 was just released and is not available except on the most recent OS release (which my x86 build system has). My ia64 build system has 5.26.3, and will be at that version until decommissioned - I don't have a date for that but it is at least 2 years out. |
Beta Was this translation helpful? Give feedback.
-
On OS X, 5.38.2 works just fine out of the box all the way back on Darwin 8 (OS X 10.4), with Darwin 7 (OS X 10.3), 5.38.2 builds fine but has a some tests failing ( over 80% pass rate) regard unicode and regex I think but is sufficient for building OpenSSL 3 (reminds me that I have a bug to file for OpenSSL). |
Beta Was this translation helpful? Give feedback.
-
Btw, while the minimum requirement is set to Perl 5.10, there's actually a Test::More 0.96 (or higher) dependency, which means you have to resort to cpan. Having Perl 5.10 alone is not sufficient as discovered trying to build OpenSSL 3.x on Darwin 10 (OS X 10.6). |
Beta Was this translation helpful? Give feedback.
-
As a word of caution, once we bring CPAN in, we have to be careful about including CPAN dependencies that are not necessarily available everywhere. While Test::More is a core module, would that require OTC approval to be included at a specific version more recent than included with a specific perl version? CPAN itself is not configured by default on my platforms. |
Beta Was this translation helpful? Give feedback.
-
So the reality is that the minimum requirement for Perl version is actually whichever release included Test::More 0.96 as a core module. |
Beta Was this translation helpful? Give feedback.
-
Yes, we know this. It was deemed OK for testing purposes. In other words, we're stricter for building and installing. EDIT: and @sevan already pointed out that this is actually documented |
Beta Was this translation helpful? Give feedback.
-
Another question is, in what OpenSSL version should we upgrade the minimum version for Perl? Side note: considering the mention of Test::More, I'm actually using Test2 (next major version of that test framework, and oh boy it's quite an upgrade) in projects of my own. It appeared in perl v5.25.1. Food for more thought, but also perhaps something that should wait 'til OpenSSL 4. |
Beta Was this translation helpful? Give feedback.
-
@holger-dengler @ifranzki @opensslonzos-github Can you confirm what versions of Perl are available to you on z/OS?
I'd actually argue we don't need to be as conservative as we do for ABI here, if we can establish that bumping it won't cause problems for anything on our platform list. Perhaps we could start by advertising an intention to bump the required minimum in CHANGES.md in a minor release, and then do it in the following one. |
Beta Was this translation helpful? Give feedback.
-
That's a viable idea. +1 |
Beta Was this translation helpful? Give feedback.
-
Neither me nor @holger-dengler do know this. But I forwarded this question to someone who could possibly know, and asked to answer in this issue. |
Beta Was this translation helpful? Give feedback.
-
If there is a minimum dependency requirement set (like c99, perl 5.10) documented, would it also make sense to document upgrade plans there? And this also sounds like a discussion instead of an issue at this stage. |
Beta Was this translation helpful? Give feedback.
-
Currently NOTES-PERL.md documents us as requiring 5.10.0 or later. But it occurs to me we don't actually have a policy on this, or when we can bump this. We have a platform policy, but that's something often orthogonal.
It seems like it would also be prudent to test whatever we are documenting as our minimum Perl version in CI also.
Beta Was this translation helpful? Give feedback.
All reactions