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: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>,
Andrew Dunstan <andrew@dunslane.net>, pgbuildfarm@rjuju.net,
pgsql-hackers@lists.postgresql.org
Date: 2022-01-23T23:53:43Z
Lists: pgsql-hackers
I wrote: > Yeah, but we don't know whether there are any versions of the Debian > packaging in which they fixed the file layout, so that 'posix_local' > actually does describe the layout. Actually ... scraping the buildfarm to see what we're currently finding shows that the following machines are reporting that /usr/local/include/pythonN.N really is the include directory: conchuela curculio florican gombessa jabiru lapwing loach longfin marabou morepork peripatus plover Now, most of those are BSD machines --- but lapwing isn't. It says checking for python... (cached) /usr/bin/python configure: using python 3.6.9 (default, Jan 14 2022, 06:45:55) checking for Python distutils module... yes checking Python configuration directory... /usr/local/lib/python3.6/config-3.6m-i386-linux-gnu checking Python include directories... -I/usr/local/include/python3.6m checking how to link an embedded Python application... -L/usr/local/lib -lpython3.6m -lpthread -ldl -lutil -lrt -lm Not sure what to make of that --- maybe that's a handmade build? 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