Re: Time to drop plpython2?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>, pgsql-hackers@postgresql.org
Date: 2021-11-15T20:00:19Z
Lists: pgsql-hackers
Hi, Continuing the discussion from https://www.postgresql.org/message-id/2146739.1637004415%40sss.pgh.pa.us On 2021-11-15 14:26:55 -0500, Tom Lane wrote: > * Meson only promises support back to python 3.6, but if that's > accurate it's going to be a problem for us, because there are lots > of live LTS distributions with older python3 (RHEL7, Solaris 11.3, > AIX 7.2 for starters). I've been planning to do some testing and > see if meson will run under python 3.4 or 3.5. Slightly older versions, which do work to build postgres with the proposed patchset, run on python3 3.5. I don't think it's likely we could make the versions that only required 3.4 work reasonably. Is RHEL7 really an issue? I only have Centos 7 around, but that has python 3.6. I don't know much about AIX, but according to https://repology.org/project/python/versions the AIX toolbox has 3.7.11. I don't know enough about AIX to know whether there's other sources of python3, bison, etc that are common. On the AIX system I have access to they all seem to be symlinked to /opt/freeware, which I understand is that toolbox stuff? Greetings, Andres Freund
Commits
-
plpython: add missing plpython.h include to plpy_plpymodule.h
- 54c72eb5e5e6 15.0 landed
-
plpython: Adjust docs after removal of Python 2 support.
- 4228cabb72bb 15.0 landed
-
plpython: Code cleanup related to removal of Python 2 support.
- 9b7e24a2cb37 15.0 landed
-
plpython: Remove regression test infrastructure for Python 2.
- db23464715f4 15.0 landed
-
plpython: Remove plpythonu, plpython2u and associated transform extensions.
- 76a29adee749 15.0 landed
-
plpython: Reject Python 2 during build configuration.
- 19252e8ec938 15.0 landed
-
Add traceback information to PL/Python errors
- 2bd78eb8d51c 9.1.0 cited