-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimum Perl version should be set to v5.8 #375
Comments
@zmughal Does PDL (or the Perl community in general) have a minimum recommended version to support? I'd say go with that for support and testing purposes. Perl 5.8 was the minimum 5+ years ago, this may have changed. Note this doesn't mean that older versions won't work, just that we will not fix bugs specific for older Perl releases that the Perl community no longer maintains nor supports. |
Depends on where they are in the river of dependencies. Toolchain code still targets Perl v5.8.1, but that's very high up so not really applicable here. PDL has a minimum of Perl v5.10 and that was bumped in 2015 to support 64-bit in more places and remove old code. Other tools promise to work with Perls within the last N years, so N = 10 would be v5.20. A good summary/boilerplate text for this approach is what RJBS uses here to insert support information into documentation. I did some plotting earlier to find out what Perl modules on CPAN are doing in general: So the next biggest versions are v5.10 and v5.14. In my opinion, I think v5.10 could be done safely, but to get a real idea, it would be best to see what downstream users are using. Looking at say, Prokka, I see that it only uses v5.6 syntax (which doesn't mean Prokka users are on v5.6, just that no newer features are needed to run it and will work with almost any later Perl). |
Though the existing BioPerl distributions are always on CPAN if any applications need to pin to an older version. Bumping the version is mainly for if new features are needed to write better code (cleaner, faster, more correct, etc.). For example, if one wants to use the new |
I ran an analysis of the dependencies last week and only now looked at the output. 😉 The runtime dependencies have a minimum Perl version of v5.12 via This doesn't mean the minimum version must be increased, but is just another data point to consider. If testing on a version below that, an older version of Test::Deep would have to be explicitly installed (e.g., inside of the CI workflow). |
Thanks for running that @zmughal. I vote we go with the minimum Perl version from the runtime analyses, Perl 5.12 is just over 13 yrs old (2011). Not that it's necessary, but for a simple comparison: requires Python 3.6 or newer (Python 3.6 was released in 2016). |
This is per discussion at: - <bioperl#374 (comment)>, - <bioperl#375>.
Update re: toolchain support:
via https://rjbs.cloud/blog/2023/05/pts-2023-lyon-amendment-2-5/. |
This is per discussion at: - <#374 (comment)>, - <#375>.
The current dist has a minimum version of v5.6 (set at
t/00-compile.t
).But as discussed in this comment, the minimum version based on the syntax and features used is v5.8.
The text was updated successfully, but these errors were encountered: