plpython: Reject Python 2 during build configuration.
authorAndres Freund <andres@anarazel.de>
Thu, 17 Feb 2022 06:47:35 +0000 (22:47 -0800)
committerAndres Freund <andres@anarazel.de>
Thu, 17 Feb 2022 06:47:35 +0000 (22:47 -0800)
commit19252e8ec938bf07897c1519f367d0467a39242c
tree758f4c8bec53a4bb37717fa7a549bf1c94fb8ee1
parent8f388f6f554b113f25a53fe3237238d2c58ed1eb
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@eisentraut.org>
Discussion: https://postgr.es/m/20211031184548.g4sxfe47n2kyi55r@alap3.anarazel.de
config/python.m4
configure
doc/src/sgml/install-windows.sgml
doc/src/sgml/installation.sgml
src/tools/msvc/Mkvcbuild.pm