Re: Time to drop plpython2?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2022-02-16T19:58:50Z
Lists: pgsql-hackers
Hi,
On 2022-02-16 15:43:19 +0100, Peter Eisentraut wrote:
> 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."
I stared for a bit, and I just don't see the redundancy?
> There is also a small bit in install-windows.sgml that would be worth
> updating:
>
> <programlisting>
> $config->{python} = 'c:\python26';
> </programlisting>
Yea. I saw that but ended up with not updating it, because it already was out
of date ;). But I guess I'll just put 310 there or something.
> Other than that, this looks fine to me, and we should move forward with this
> now.
Cool, will apply 1) later today.
> > 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.
Uh, huh. That was a mistake, not sure what happened...
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