[Koha-devel] Perl version requirement

Renvoize, Martin martin.renvoize at ptfs-europe.com
Thu Jun 25 10:27:04 CEST 2020


I tried to advocate switching to 5.22 as a minimum a while ago but got
blocked.

At this point.. I'm not entirely sure what upping our minimum beyond what
we actually support would achieve.. if we've got 5.14 features in use in
code then we should advertise 5.14 as the minimum... I would like to see a
justification for upping the minimum in so much as there's certain perl
features I'd love to start using but can't due to our support policies.. if
we're going to set a new minimum it should be based on either the lowest
version with the code feature we currently utilise or should be upped to a
version which include features our developers have argued for and agreed to
use.


Just my two cents.

As for the Perl 7 question.. I personally would love to see us work on
modernising our codebase to be happy with modern defaults. it would make
everyones lives easier to strive for best practice and might help encourage
new blood into the project if we're seen to be a bit more modern and
forward thinking ;).


*Martin Renvoize*

<https://www.ptfs-europe.com>

Development Team Manager

Community Release Manager (19.11, 20.05)


*Phone:* +44 (0) 1483 378728

*Mobile:* +44 (0) 7725 985 636

*Email:* martin.renvoize at ptfs-europe.com

*Fax:* +44 (0) 800 756 6384


www.ptfs-europe.com







Registered in the United Kingdom No. 06416372   VAT Reg No. 925 7211 30

The information contained in this email message may be privileged,
confidential and protected from disclosure. If you are not the intended
recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this email message in
error, please email the sender at info at ptfs-europe.com




On Thu, 25 Jun 2020 at 05:21, <dcook at prosentient.com.au> wrote:

> Just to add more fuel to the fire, have people heard about Perl 7? It was
> just announced yesterday.
>
> Unlike Perl 6 (now known as Raku), Perl 7 appears to be an actual
> backwards compatible successor to Perl 5:
> https://www.perl.com/article/announcing-perl-7/. If you don't want to
> read the link, "the bottom line" is "Perl 7 is v5.32 with different
> settings. Your code should work if it’s not a mess. Expect a user release
> within a year."
>
> --
>
> As for Perl 5.x versions, in the past, I've said let's stay at 5.10
> because of RHEL 6, but RHEL 6 is being retired November 30, 2020 (with an
> "Extended Life Cycle Support Add-On" available until June 30, 2024). I
> really don't think we should be hamstrung by RHEL 6 anymore. RHEL 7 comes
> with 5.16 and RHEL 7's "Software Collections" can be used with Perl 5.20
> and Perl 5.24, although I don't think that the RHEL 7 "Software
> Collections" can be used with the #!/usr/bin/perl shebang (which would be
> used in CGI and Plack's CGI emulation). That said, RHEL 8 is available now
> and it comes with Perl 5.26.
>
> Maybe we should just focus on Perl versions for supported Debian/Ubuntu
> OSes, and if people want to use other OSes, then they just need to upgrade
> to a newer version that supports a newer Perl.
>
> I think you can install Docker on RHEL 7, so that's another consideration
> for people running Koha on non-Debian/Ubuntu OSes. They can always just
> look at implementing a container-based solution, which leverages
> Debian/Ubuntu as the container OS.
>
> So yeah... let's pick the lowest Perl on our supported Debian/Ubuntu and
> have that be the minimum supported Perl.
>
> David Cook
> Systems Librarian
> Prosentient Systems
> 72/330 Wattle St
> Ultimo, NSW 2007
> Australia
>
> Office: 02 9212 0899
> Online: 02 8005 0595
>
> -----Original Message-----
> From: Koha-devel <koha-devel-bounces at lists.koha-community.org> On Behalf
> Of Paul A
> Sent: Thursday, 25 June 2020 9:00 AM
> To: koha-devel at lists.koha-community.org
> Subject: Re: [Koha-devel] Perl version requirement
>
> On 2020-06-24 1:15 p.m., Julian Maurice wrote:
> > Ah yes, I forgot about Xenial.
> >
> > Not sure if it is still supported.
>
> Ubuntu 16.04.6 LTS (Xenial Xerus) was released February 28, 2019, has an
> "End of Standard Support" set at April 2021, and "End of Life" of April
> 2024 -- where some package enhancements are ensured up to the first of
> those dates, and *security* is ensured until the second, i.e nearly another
> four years from now.
>
> I obviously cannot speak for more than the organizations with which I am
> involved, but basically we are all keeping c++, php and perl based code on
> 16.04 LTS using Apache, and have moved only python coding to 18.04.
> However, we do use Nginx on 18.04 as a front end, proxying to the 16.04
> back ends. We are beginning to look at 20.04, but first impressions of the
> transition are slightly painful.
>
> As Mark mentions below, Xenial uses Perl 5.22.1-9ubuntu0.6. I understand
> that the "1-9ubuntu0.6" denotes some fifty patches and fixes on top of
> "basic 5.22" but not amounting to 5.24. Just for completeness, 18.04 uses
> perl 5.26, and 20.04 comes with perl 5.30.  However, from what I have
> heard, the perl 5 branch has very few deprecated, let alone removed,
> details, so backwards compatibility is on a fairly firm footing. In fact, a
> quick look at 5.22 and 5.26 show very much the same patches, but of course
> this may not apply to non-core modules.
>
> Best -- Paul
>
>
>
> The thing is, depending on where you
> > look, you find different informations:
> >
> > In the latest release notes:
> >
> > - 20.05.01 says that the recommended environments are Debian stretch,
> > Debian buster or Ubuntu bionic, and requires Perl 5.10
> > - 19.11.07 says that the recommended environments are Debian jessie,
> > Debian stretch, Debian buster or Ubuntu bionic and requires Perl 5.10
> > - 19.05.12 says the the recommended environements are Debian stretch
> > or Ubuntu bionic, and requires Perl 5.24 (it's strange that an older
> > version of Koha require a newer version of Perl)
> >
> > On Jenkins, there is a "supported" tab that includes Ubuntu xenial,
> > bionic and focal, and Debian jessie, stretch and buster.
> >
> > So it is not very clear.
> > Maybe we can include that information in Koha's source (in README ?)
> > and make it the "single source of truth" ?
> >
> > Le 24/06/2020 à 18:40, Mark Tompsett a écrit :
> >> Greetings,
> >>
> >> I apologize if this is a dumb question, but do we support Xenial
> >> (Ubuntu 16.04) still? If so, then Julian Maurice's suggestion is a
> >> little over. Xenial has Perl 5.22 in it. If we don't support Xenial,
> >> then +1 for his suggestion of 5.24 as the Perl version to use.
> >>
> >> GPML,
> >> Mark Tompsett
> >>
> >> _______________________________________________
> >> Koha-devel mailing list
> >> Koha-devel at lists.koha-community.org
> >> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> >> website : http://www.koha-community.org/ git :
> >> http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
> >>
> >
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/ git :
> http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200625/3dcd6e3c/attachment.htm>


More information about the Koha-devel mailing list