Re: Time to drop plpython2?
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: Andres Freund <andres@anarazel.de>,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org,
Andrew Dunstan <andrew@dunslane.net>
Date: 2022-02-18T19:19:49Z
Lists: pgsql-hackers
On 2/17/22 13:08, Andres Freund wrote:
> On 2022-02-16 23:14:46 -0800, Andres Freund wrote:
>> > Done. Curious how red the BF will turn out to be. Let's hope it's not
>> > too bad.
>> - rhinoceros
>
> Joe replied that he is afk, looking into it tomorrow.
I installed python3 packages (initially forgetting the devel package --
d'oh!) and changed build-farm.conf thusly:
8<-------------------
***************
*** 185,190 ****
--- 185,193 ----
build_env => {
+ # specify python 3
+ PYTHON => 'python3',
+
# use a dedicated cache for the build farm. this should
give us
# very high hit rates and slightly faster cache searching.
#
8<-------------------
That seems to have worked.
But the question is, is that the correct/recommended method?
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