pgsql: plpython: Reject Python 2 during build configuration.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: plpython: Reject Python 2 during build configuration.
Date: 2022-02-17 06:50:56
Message-ID: E1nKacy-0003Eq-Ia@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

plpython: Reject Python 2 during build configuration.

Python 2.7 went EOL 2020-01-01 and the support for Python 2 requires a fair
bit of infrastructure. Therefore we are removing Python 2 support in plpython.

This patch just rejects Python 2 during configure / mkvcbuild.pl. Future
commits will remove the code and infrastructure for Python 2 support and
adjust more of the documentation. This way we can see the buildfarm state
after the removal sooner and we can be sure that failures are due to
desupporting Python 2, rather than caused by infrastructure cleanup.

Reviewed-By: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/20211031184548.g4sxfe47n2kyi55r@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/19252e8ec938bf07897c1519f367d0467a39242c

Modified Files
--------------
config/python.m4 | 9 ++++++---
configure | 6 +++---
doc/src/sgml/install-windows.sgml | 2 +-
doc/src/sgml/installation.sgml | 18 +++++-------------
src/tools/msvc/Mkvcbuild.pm | 4 ++++
5 files changed, 19 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-02-17 15:04:12 pgsql: Disable perl2host() processing in TAP tests
Previous Message Peter Geoghegan 2022-02-17 02:42:39 pgsql: Increase hash_mem_multiplier default to 2.0.