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: 2022-01-11T16:06:25Z
Lists: pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes: > On 15.11.21 19:52, Peter Eisentraut wrote: >> I think we should just write to the build farm owners, we plan to drop >> python2 support in, say, 60 days, please update your setup to use >> python3 or disable python support. > This discussion stalled. I think we should do *something* for > PostgreSQL 15. Agreed. We want plpython2 out of there for v15, or we'll be adding another year to the length of time we're on the hook to support python2 in the back branches --- which, as you say, is getting ever more painful to do. > I suspect at this point, the Meson move isn't going to happen for > PostgreSQL 15. Also agreed. Nonetheless, we need to make a recommendation to the buildfarm owners about what's the minimum python3 version we intend to support going forward. Do we want to just set it at 3.6, with the expectation that the meson move will happen before too long? (I'm not going to accept being fuzzy on this point, because I need to know what to install on prairiedog and gaur. I intend to install whatever our minimum supported version is, not only to keep us honest on that being actually supported, but because I anticipate that newer python versions will be correspondingly harder to build on ancient platforms.) 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