Re: Replace uses of deprecated Python module distutils.sysconfig
Noah Misch <noah@leadboat.com>
From: Noah Misch <noah@leadboat.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@lists.postgresql.org
Date: 2022-02-01T01:50:55Z
Lists: pgsql-hackers
On Mon, Jan 31, 2022 at 05:18:47PM -0500, Tom Lane wrote: > [ I was hoping for more opinions, but I guess nobody cares but us ] > > Andres Freund <andres@anarazel.de> writes: > > On 2022-01-27 17:53:02 -0500, Tom Lane wrote: > >> So now we need to discuss whether we want to back-patch this. > >> Pros: avoid configure warning now (not worth much); avoid outright > >> build failure on Python 3.12+ in future. > >> Cons: breaks compatibility with Python 2.6 and 3.1. > If nobody else has weighed in by tomorrow, I'll backpatch to v10. Works for me. I agree wanting Python 3.12 w/ PG10.latest is far more likely than wanting Python 2.6 or 3.1. If someone lodges a non-academic complaint, we could have back branches fallback to the old way if they detect a Python version needing the old way. I doubt anyone will complain.
Commits
-
Replace use of deprecated Python module distutils.sysconfig, take 2.
- e41176bd6f47 11.15 landed
- aa2215d6b8ac 12.10 landed
- a72c430120cf 10.20 landed
- 803f0b173906 14.2 landed
- 4d7d196ff693 13.6 landed
- bd233bdd8dd9 15.0 landed
-
Temporarily add some information about python include paths to configure.
- f032f63e727c 15.0 landed
-
Revert "Make configure prefer python3 to plain python."
- 512fc2dd790e 15.0 landed
-
Make configure prefer python3 to plain python.
- f201da39edcd 15.0 landed
-
Replace use of deprecated Python module distutils.sysconfig
- e0e567a10672 15.0 landed