Re: Time to drop plpython2?
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2022-02-16T14:43:19Z
Lists: pgsql-hackers
On 15.02.22 22:40, Andres Freund wrote:
> 1: plpython: Reject Python 2 during build configuration.
There is a bit of redundancy in the new wording in installation.sgml:
"The minimum required version is <productname>Python</productname> 3.2
or later."
There is also a small bit in install-windows.sgml that would be worth
updating:
<programlisting>
$config->{python} = 'c:\python26';
</programlisting>
Other than that, this looks fine to me, and we should move forward with
this now.
> 2: plpython: Remove plpythonu, plpython2u extensions.
> 3: plpython: Remove regression test infrastructure for Python 2.
The removal of the Python 2 contrib extension variants ended up in patch
3, which seems incorrect.
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