Re: Time to drop plpython2? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Time to drop plpython2?
Date
Msg-id f5ea6e38-b7ca-4e7a-bc47-8e3367493849@enterprisedb.com
Whole thread Raw
In response to Re: Time to drop plpython2?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Time to drop plpython2?
Re: Time to drop plpython2?
List pgsql-hackers
On 15.11.21 19:18, Tom Lane wrote:
> Andres Freund<andres@anarazel.de>  writes:
>> On 2021-11-15 12:19:51 -0500, Tom Lane wrote:
>>> I was wondering about simply probing to see if python3 exists (and if
>>> so, what version it is exactly), as an additional configure test that
>>> doesn't hook into anything.  That would give us some information without
>>> suddenly changing what is being tested.
>> But this is probably a good compromise. Were you thinking of doing a proper
>> autoconf test or just putting something like python3 --version || true in
>> configure?
> Hm, I had in mind an actual configure test; but since it's just a
> temporary exploratory measure, shortcuts are fine.  However, I'm
> not sure that what you suggest would result in capturing anything
> in config.log.

I'm not sure this is really going to end up moving things forward.

I think we should just write to the build farm owners, we plan to drop 
python2 support in, say, 60 days, please update your setup to use 
python3 or disable python support.

If we add this test first, then all we're going to learn is probably 
that 60% of those who are currently using python2 don't have python3 
installed, and then we're still going to have to send that above email.



pgsql-hackers by date:

Previous
From: Dagfinn Ilmari Mannsåker
Date:
Subject: Re: Test::More version
Next
From: Daniel Gustafsson
Date:
Subject: Re: Commitfest 2021-11 Patch Triage - Part 2