Re: What's our minimum supported Python version? - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: What's our minimum supported Python version?
Date
Msg-id CAOYmi+ngdoyUWK-83f=AS7Nb+OYfgXfXDcyGJqXvv=RZ0kC-yA@mail.gmail.com
Whole thread Raw
In response to Re: What's our minimum supported Python version?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: What's our minimum supported Python version?
[PATCH] Support older Pythons in oauth_server.py
List pgsql-hackers
On Tue, Apr 22, 2025 at 8:05 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The first problem is that this Python version seems not to
> like assignments embedded in if statements: [...]
>
> I was able to work around that with the attached quick hack.
> But then I get [...]

Thanks, I'll put a patch together. Sorry -- IIRC, both of those
features are probably too new for me to have used, regardless of what
we decide is the minimum version for 18.

As for picking a version... 3.6 will have been EOL for almost three
years by the time 18 releases. It seems like we would drop it happily,
were it not for RHEL8. But RHEL also supports side-by-side Python,
right? In general, I'd be more than willing to try plumbing that
through the new tests, if it lets us drop end-of-life versions for new
code.

(I don't know if we'll need to drop 3.6 for PG18, specifically, but I
also think we shouldn't plan to support 3.6 for the full RHEL8
lifetime.)

Thanks,
--Jacob



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] contrib/xml2: xslt_process() should report XSLT-related error details
Next
From: Tom Lane
Date:
Subject: Re: Check for tuplestorestate nullness before dereferencing