Re: Time to drop plpython2?
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>,
Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org,
Andrew Dunstan <andrew@dunslane.net>
Date: 2022-02-18T20:35:37Z
Lists: pgsql-hackers
On 2/18/22 15:25, Andres Freund wrote: > On 2022-02-18 14:46:39 -0500, Joe Conway wrote: >> $ ll /usr/bin/python >> lrwxrwxrwx. 1 root root 7 Mar 13 2021 /usr/bin/python -> python2 >> 8<------------------- > > Yea, that all looks fine. What's the problem if you don't specify the > PYTHON=python3? We try python3, python in that order by default, so it should > pick up the same python3 you specify explicitly? Initially I just installed the python3 RPMs and when I tried running manually it was still error'ing on configure due to finding python2. Even after adding EXPORT PYTHON=python3 to my ~/.bash_profile I was seeing the same. By adding PYTHON => 'python3' to build-farm.conf I saw that the error changed to indicate missing python3-devel package. Once I installed that, everything went green. Joe -- Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development
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