Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tY1ZY-001deH-3y for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Jan 2025 11:28:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tY1ZW-00AXoD-Q9 for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Jan 2025 11:28:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tY1ZW-00AXo4-1q for pgsql-hackers@lists.postgresql.org; Wed, 15 Jan 2025 11:28:30 +0000 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tY1ZT-000XXW-21 for pgsql-hackers@postgresql.org; Wed, 15 Jan 2025 11:28:30 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id C7BB41140204; Wed, 15 Jan 2025 06:28:25 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Wed, 15 Jan 2025 06:28:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eggerapps.at; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1736940505; x=1737026905; bh=yw8+hIJbk/ fRFc9/wNeJcPRAPLeqhThsqOCd8toLUh0=; b=XKJTMO7nWOGXQg3ZmfqicCToMB nIOVpopvfdTrA7aBIZbBlbkxPAyGVjk5CnwGbLCMMvuJ3BOtpjRuRO+wpQ+GjJGZ Btfhyyu9OUQLTPjPywm4zyLN/CiJmROherxUfU/sXjUqdowteLve8LaKYn0+YJ8l NfjlcvUCqVLuiB2eQJL+0EwOopzfE0x7UHzSqi2TRvhnwx07SFeRbOXkNelADFnY bseAwF/8VymfYLH6xnEF3L7vRIj1pKfvFoS10ruU616w91BlX9OtvFEEo5p72iAd Cwf8nSELhUGWR9j/gWZ0bIlL9Sbjc4Ir7scXHF/TzJ2XYjeNcYIRsmVj7v3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1736940505; x=1737026905; bh=yw8+hIJbk/fRFc9/wNeJcPRAPLeqhThsqOC d8toLUh0=; b=W6QLIvi9hSi99aUF4df1rnKiOBoqpqp0Tt0TIt5yd6hgPKZIihm Kdktcs/R2ilEQ94aDbQIFwnCI5IW88dXqSIF7PMeKhJrhY1MRJFrn84XilF0TgpX 4zrfXPZdeL4t05Axtz8DE/df4xSEyoFI9s+30ehNix3KipgIi4RQnmGxGilVS9c2 Q4ZwUQfkzuR7h66fhLE4EntHNrtGuxfJMPNs6kleDhuH8SZ1QkdrDTdYCeB6y5QW YyLT57jGnVmdpHAYGBuXpXtFUvR+Ih7Wia97Q+KsUGQBdvTT5rpXIYlhkLDK6xI5 eba8wi7XQKsKRNGL42nMx8QiCYjoef2LjHA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehledgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffktgggufffjgevvfhfofesrgdtmherhhdtjeen ucfhrhhomheplfgrkhhosgcugfhgghgvrhcuoehjrghkohgssegvghhgvghrrghpphhsrd grtheqnecuggftrfgrthhtvghrnheptedukedvteduteetgfdtlefgieefkeffheetheel kedutefggeetkeeludejhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepjhgrkhhosgesvghgghgvrhgrphhpshdrrghtpdhnsggprhgtphht thhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehpvghtvghrsegvihhsvg hnthhrrghuthdrohhrghdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehpohhs thhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i8b2c40a9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 15 Jan 2025 06:28:24 -0500 (EST) From: Jakob Egger Message-Id: <1199D508-06D8-4916-84CD-462FA8EC8638@eggerapps.at> Content-Type: multipart/alternative; boundary="Apple-Mail=_263B0704-A482-44B0-A921-625B4B599680" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: Re: Use Python "Limited API" in PL/Python Date: Wed, 15 Jan 2025 12:28:22 +0100 In-Reply-To: Cc: pgsql-hackers To: Peter Eisentraut References: X-Mailer: Apple Mail (2.3826.300.87.4.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_263B0704-A482-44B0-A921-625B4B599680 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 14.01.2025, at 16:51, Jakob Egger wrote: > I've tried to create a patch with this change. I'm attaching it to = this message so that cfbot picks it up. (I was unable to reproduce the = issue locally) Apologies, please disregard my last patch. It does not work. It looks like meson just can't build libraries that link with Python = that use the limited API. My understanding of Meson is limited, so I am unsure how to best work = around this limitation. I've spent two days trying to figure it out; I'm at the end of my wits. Best regards, Jakob= --Apple-Mail=_263B0704-A482-44B0-A921-625B4B599680 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii On 14.01.2025, = at 16:51, Jakob Egger <jakob@eggerapps.at> = wrote:
I've tried to create a patch with this = change. I'm attaching it to this message so that cfbot picks it up. (I = was unable to reproduce the issue = locally)

Apologi= es, please disregard my last patch. It does not = work.

It looks like meson just can't build = libraries that link with Python that use the limited = API.

My understanding of Meson is limited, so I = am unsure how to best work around this = limitation.

I've spent two days trying to = figure it out; I'm at the end of my wits.

Best = regards,
Jakob
= --Apple-Mail=_263B0704-A482-44B0-A921-625B4B599680--