Removing support for Python 3.6 (even 3.7?) this cycle (for upcoming hg-6.9)

Mathias De Mare (Nokia) mathias.de_mare at nokia.com
Mon Aug 5 11:24:22 UTC 2024



> -----Original Message-----
> From: Mercurial-devel <mercurial-devel-bounces at lists.mercurial-scm.org> On
> Behalf Of Mike Hommey
> Sent: Thursday, July 25, 2024 10:12 PM
> To: Gregory Szorc <gregory.szorc at gmail.com>
> Cc: Raphaël Gomès <raphael.gomes at octobus.net>; mercurial-
> packaging at mercurial-scm.org; mercurial at lists.mercurial-scm.org; mercurial-
> devel at lists.mercurial-scm.org
> Subject: Re: Removing support for Python 3.6 (even 3.7?) this cycle (for
> upcoming hg-6.9)
> 
> [You don't often get email from mh at glandium.org. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> CAUTION: This is an external email. Please be very careful when clicking links or
> opening attachments. See the URL nok.it/ext for additional information.
> 
> 
> 
> On Thu, Jul 25, 2024 at 06:07:01AM -0700, Gregory Szorc wrote:
> > Historically Python version support was tied to OS's within support
> windows. And the long tail there is usually RHEL. Those timelines are listed at
> https://access.redhat.com/product-life-
> cycles?product=Red%20Hat%20Enterprise%20Linux,OpenShift%20Container
> %20Platform%204.
> >
> > RHEL 7 is still within extended support and 8 is within maintenance support.
> >
> > RHEL's support window is an eternity. I think it imposes an excessive burden
> on Mercurial developers to support ancient Pythons for that long.
> 
> Note that RHEL does have additional channels with newer versions of python,
> although I don't know how to tell which ones are available.

If I'm not mistaken, with RHEL 5 and 6, we used to retrieve and build a more recent Python version in the Mercurial build. Perhaps this is also an option? I wouldn't mind having a look at this if necessary.
Additionally (to my surprise), I see rocky 8 at least has python3.12 available if I do 'dnf search python3'. The default is indeed 3.6.

Greetings,
Mathias
> 
> Mike
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-packaging mailing list