public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andrew Dunstan <[email protected]>
To: Peter Eisentraut <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: Re: Python installation selection in Meson
Date: Wed, 29 Nov 2023 08:23:53 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>


On 2023-11-28 Tu 13:02, Peter Eisentraut wrote:
> 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.


I noticed when working on the meson/windows stuff that meson would try 
to build plpython against its python installation, which failed 
miserably. The workaround was to abandon separate meson/ninja 
installations via chocolatey, and instead install them using pip. Maybe 
this was as a result of the above problem?


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com







view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Python installation selection in Meson
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox