pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Devrim Gündüz <devrim@gunduz.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: drop support for Python 2.3
Date: Tue, 21 Feb 2017 10:18:25 -0500
Message-ID: <7165.1487690305@sss.pgh.pa.us> (raw)
In-Reply-To: <664e0d02-20ed-5ae8-7d60-8f779d759072@2ndquadrant.com>
References: <7d5073f6-d9ea-ab09-4805-69a12f23e52f@2ndquadrant.com>
	<9516.1486529343@sss.pgh.pa.us>
	<adb38a71-0aa7-087d-2791-4987f3026244@2ndquadrant.com>
	<1486568115.5462.50.camel@gunduz.org>
	<0e2fd256-0a3a-bae8-4ef2-c536139c64cb@2ndquadrant.com>
	<1487493740.2748.13.camel@gunduz.org>
	<797.1487517822@sss.pgh.pa.us>
	<1453.1487518921@sss.pgh.pa.us>
	<1487527748.2748.37.camel@gunduz.org>
	<24334.1487530091@sss.pgh.pa.us>
	<1487535029.3796.1.camel@gunduz.org>
	<633.1487539228@sss.pgh.pa.us>
	<1487565212.4910.3.camel@gunduz.org>
	<664e0d02-20ed-5ae8-7d60-8f779d759072@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 2/19/17 23:33, Devrim Gündüz wrote:
>> Thanks! Looks like buildfarm is green again.

> Thank.  I have committed the patch to drop Python 2.3 support.

I spent some time last night building a (rather makeshift) python 2.4.1
installation on prairiedog, which I will now switch it to use in HEAD,
but keeping it pointed at 2.3 for 9.6 and older.

Based on some not-fun I had along the way to that, I think it would be
a good idea to do the Python version check a bit earlier than you have
here.  The shlib search in PGAC_CHECK_PYTHON_EMBED_SETUP is pretty fragile
and version-dependent, which means that a person could waste a lot of time
trying to get past the "could not find shared library for Python" error
before being told that their Python is too old.  I propose to move the
minimum-version check into _PGAC_CHECK_PYTHON_DIRS, say right after the
[Python configuration directory] stanza.  Unless there was some specific
reason for not wanting it to happen in python.m4?

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (19+ messages)  latest in thread

Message-ID: <7165.1487690305@sss.pgh.pa.us>
Permalink:  ../7165.1487690305@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7165.1487690305@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, devrim@gunduz.org
  Subject: Re: drop support for Python 2.3
  In-Reply-To: <7165.1487690305@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox