Re: Time to drop plpython2?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2021-11-15T19:26:55Z
Lists: pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: > If we add this test first, then all we're going to learn is probably > that 60% of those who are currently using python2 don't have python3 > installed, and then we're still going to have to send that above email. I don't know what fraction don't have python3 installed, and it doesn't matter much, since it's unlikely that it's either 0% or 100%. What I hoped to learn was, of those who *do* have some python3 installed, which version it is. That might inform our thoughts about where to set the minimum python3 version. Relevant data points: * Our docs claim the minimum 3.x version for pl/python itself is 3.1, but this is unbacked by any testing; the oldest 3.x in the buildfarm is 3.4.3 (three such animals). * 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. But this probably belongs on the meson thread, since that looks like it will be a much stronger constraint than pl/python is. regards, tom lane
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