Re: Time to drop plpython2?
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2021-11-15T18:52:19Z
Lists: pgsql-hackers
On 15.11.21 19:18, Tom Lane wrote: > Andres Freund<andres@anarazel.de> writes: >> On 2021-11-15 12:19:51 -0500, Tom Lane wrote: >>> I was wondering about simply probing to see if python3 exists (and if >>> so, what version it is exactly), as an additional configure test that >>> doesn't hook into anything. That would give us some information without >>> suddenly changing what is being tested. >> But this is probably a good compromise. Were you thinking of doing a proper >> autoconf test or just putting something like python3 --version || true in >> configure? > Hm, I had in mind an actual configure test; but since it's just a > temporary exploratory measure, shortcuts are fine. However, I'm > not sure that what you suggest would result in capturing anything > in config.log. I'm not sure this is really going to end up moving things forward. 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. 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.
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