Re: Replace uses of deprecated Python module distutils.sysconfig
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@lists.postgresql.org
Date: 2022-01-21T19:26:51Z
Lists: pgsql-hackers
I wrote: > The early returns are not great: we have about half a dozen machines > so far that are finding python3, and reporting sane-looking Python > include paths, but not finding Python.h. They're all Linux-oid > machines, so I suppose what is going on is that they have the base > python3 package installed but not python3-dev or local equivalent. > I want to leave that patch in place long enough so we can get a > fairly full survey of which machines are OK and which are not, > but I suppose I'll have to revert it tomorrow or so. We did > promise the owners a month to adjust their configurations. I have now reverted that patch, but I think this was a highly worthwhile bit of reconnaissance. It identified 18 animals that had incomplete python3 installations (versus only 13 that definitely or possibly lack python3 altogether). Their owners most likely thought they were already good to go for the changeover, so without this experiment we'd have had a whole lot of buildfarm red when the real change is made. I've notified the owners of these results. regards, tom lane
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