Re: Time to drop plpython2?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2022-03-07T01:42:03Z
Lists: pgsql-hackers
Hi, On 2022-03-06 17:30:15 -0800, Andres Freund wrote: > 0003, the removal of code level support for Python 2, is now a good bit bigger > bigger, due to the removal of the last remnants of the Py2/3 porting layer. Oh, huh. Something here seems to be broken, causing a crash on windows, but not elsewhere. https://cirrus-ci.com/task/5288088032247808 stack trace and regression.diffs: https://api.cirrus-ci.com/v1/artifact/task/5288088032247808/crashlog/crashlog-postgres.exe_1768_2022-03-07_01-07-48-535.txt https://api.cirrus-ci.com/v1/artifact/task/5288088032247808/log/src/pl/plpython/regression.diffs The previous version ran successfully on windows too. So I probably screwed something up when removing the remaining Py2/3 porting layer bits... The fact that it fails on windows but not elsewhere perhaps suggests it's something around the width of long? Greetings, Andres Freund
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