Python installation selection in Meson

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Python installation selection in Meson
Date: 2023-11-28 18:02:42
Message-ID: 3f5427e8-cef6-474d-ae88-13db1bfdc1a7@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I noticed that under meson, the selection of the Python installation
using the 'PYTHON' option doesn't work completely. The 'PYTHON' option
determined the Python binary that will be used to call the various build
support programs. But it doesn't affect the Python installation used
for PL/Python. For that, we need to pass the program determined by the
'PYTHON' option back into the find_installation() routine of the python
module. (Otherwise, find_installation() will just search for an
installation on its own.) See attached patch. I ran this through
Cirrus, seems to work.

Attachment Content-Type Size
0001-Meson-python-detection.patch text/plain 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2023-11-28 18:03:46 Re: XID formatting and SLRU refactorings
Previous Message David Geier 2023-11-28 18:00:16 Fix assertion in autovacuum worker