pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make configure prefer python3 to plain python.
3+ messages / 2 participants
[nested] [flat]

* pgsql: Make configure prefer python3 to plain python.
@ 2022-01-19 20:39  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2022-01-19 20:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Make configure prefer python3 to plain python.

This avoids possibly selecting Python 2.x on systems that have
both Python 2 and Python 3.  We used to feel that what "python"
links to is a user choice that we should honor.  However, we're
about to cease support for Python 2, so users will no longer have
any choice of that sort.  This small change is being made ahead
of the big Python-2-ectomy so that we can see how much of the
buildfarm is not yet prepared for that.  Systems with only
Python 2 will continue to build that way, for now.

Discussion: https://postgr.es/m/2872c9a0-4b0a-1354-d5f6-94d6f85ba354@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f201da39edcd6ac1ab9a3edf3e20e2a73bbbe69e

Modified Files
--------------
config/python.m4               | 12 +++++-------
configure                      |  2 +-
doc/src/sgml/installation.sgml |  2 +-
3 files changed, 7 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Make configure prefer python3 to plain python.
@ 2022-01-20 01:06  Jeff Davis <pgsql@j-davis.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: Jeff Davis @ 2022-01-20 01:06 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-committers@lists.postgresql.org

On Wed, 2022-01-19 at 20:39 +0000, Tom Lane wrote:
> Make configure prefer python3 to plain python.

It looks like this is failing on a few buildfarm members, e.g. jay.

I committed afterward... sorry, I should have double checked that the
buildfarm was stable first. I'll check up on my patch again after the
buildfarm is fixed.

Regards,
	Jeff Davis







^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Make configure prefer python3 to plain python.
@ 2022-01-20 01:07  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jeff Davis <pgsql@j-davis.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2022-01-20 01:07 UTC (permalink / raw)
  To: Jeff Davis <pgsql@j-davis.com>; +Cc: pgsql-committers@lists.postgresql.org

Jeff Davis <pgsql@j-davis.com> writes:
> On Wed, 2022-01-19 at 20:39 +0000, Tom Lane wrote:
>> Make configure prefer python3 to plain python.

> It looks like this is failing on a few buildfarm members, e.g. jay.

Yeah, see

https://www.postgresql.org/message-id/773175.1642632477%40sss.pgh.pa.us

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-01-20 01:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 20:39 pgsql: Make configure prefer python3 to plain python. Tom Lane <tgl@sss.pgh.pa.us>
2022-01-20 01:06 ` Jeff Davis <pgsql@j-davis.com>
2022-01-20 01:07   ` Tom Lane <tgl@sss.pgh.pa.us>

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