Re: Time to drop plpython2?
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-11-16T15:16:04Z
Lists: pgsql-hackers
On Mon, Nov 15, 2021 at 4:12 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > It'd only be an issue if they want to compile from source, right? > > We're not speaking of changing the runtime prerequisites, IIUC. > > I'm not sure. Does it make sense to document that pl/python has > a different Python version requirement than the build system does? > If we do, who exactly is going to be testing that such a combination > works? Will it even be possible to compile pl/python against Python > headers/libs of a different Python generation than meson is running > under? Hmm, that's true. I hadn't considered the fact that anyone who is packaging PostgreSQL probably also wants to build plpython. However, it's possible that a side-by-side install of a newer python version could be used for the build system while building against the system python for plpython. That might or might not be too exotic a configuration for someone to consider. -- Robert Haas EDB: http://www.enterprisedb.com
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