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.96) (envelope-from ) id 1waRAV-001nnH-2m for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jun 2026 04:49:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1waRAS-00ExZA-30 for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jun 2026 04:49:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1waRAS-00ExZ2-0J for pgsql-hackers@lists.postgresql.org; Fri, 19 Jun 2026 04:49:24 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1waRAP-000000015aV-3ahN for pgsql-hackers@lists.postgresql.org; Fri, 19 Jun 2026 04:49:23 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id B66617A019B; Fri, 19 Jun 2026 00:49:19 -0400 (EDT) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-05.internal (MEProxy); Fri, 19 Jun 2026 00:49:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=partin.io; h=cc :cc:content-transfer-encoding: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=fm1; t=1781844559; x=1781930959; bh=3z56oG690DC/DwbMoUz/TE6zrpdvbdFgpEbZ3y99ByI=; b= EssKO041k8/dMFrpWXW2QIYv3pzFyLeUgXbLzhxe1JSPjlrX2VmE3Ex56AET7xF/ pvdxXIyjgdP5nWLxHazZIVMd0s/muE8Hl4I/dIbT0xxMlZuxDYR5yf+k/N2q+djK HbNDSqRegCexC2Dnr303x6UPZeb91GjytOYMKz7pd8BugR4C5TVkmO9O2Y2DCSVZ FX9AsNjWL9S5Qvd/GyEgTak7PVZaLjSlU6GoQfFpQnXO7yFnrC5Cj13RI3MwRsdj VY2i1w1nfQSfxcWSmzVCp7WiidN5LQKMtNeyIWL29UW+paUyZu3ud8nHAVChfWbt aRebGC46NDxus4GPjAqVGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm1; t=1781844559; x= 1781930959; bh=3z56oG690DC/DwbMoUz/TE6zrpdvbdFgpEbZ3y99ByI=; b=a 7oU3loKnOqL/e/xxjz31NK3NMN90gikv5gmMHq11CkGb00npX4ZPQngXDDOQ/WkO /Mgk6aOgpr6UDGkx5lCBPvbXiCGOCuTHrwu+Rz7GDxE3EtmztIlPfFSsGYCV/Yvc HkNqiAW92hCYxt7QwXIy6y1Jk302SmO7sN7hNc+XDv2+TqWC/VOSerkZ8o9ySRFW W8Lm9aZe9EJZOTLgw741EMFwOfDLV00p6WKzhSDy2JtfaymeLm8b0RpRt4T8U+SJ 9JKmnsdXTxZkBDWD2xJ6W5ZWXR74VkHik5kZKhuA+kGNXVDpwahvskO7mQz2pRLH MymgNbE+z/nbrsUi0OAfQ== X-ME-Sender: X-ME-Proxy-Cause: dmFkZTEoXJAxmdkOPuqhsiLkcc/SHiXA6t5ZylEV9oWXDi90XXt4za0Zyc8qryAoW0HVD9 5kEU5L0IwxvfchptIjPilow5nFatv7Ky1SoQYz2FoURSvK1PrlYo7Bt/OwCMVKvky5o1eb vsffUEATMF2Yp+fwUhSfCQtOdfqbBE+PuQnKP/JD3I7zAiBkmZrq2AD0VGGHMYZh//YMJE 4bykHp/xc68echirnPrT6OCsjNXxQhuoiXpyxQD9fqDY3N2JUBqKGgWN87S9hBGF+t6ANR 6ZekwVsptiTmE9JPwqZ+TYt5CIoQTD5QAHlLHVmKbNYb6OfK9GCrpy4FZqEKGpI6c4i7bX nXYRlaz5ELLjmr+RE/evfMNtV0Ufbxr4lQXe8zWIGAikE8rLvj0ea0wHOEWJYiefexUfZh uuSGnX2UsLNdYt6jGHctjLwZ7FLIWnSOriVZYBteiURTUJQH3AVdfCRcpztBSC5pUpoJq3 7t0XnlTR+9sIORNJ9mTPGDLuE8tnA/lD9g8LXal71R/qpKXfjASJPuO+J8mIE5MrFyEMz9 NmxbkwzkFvXqG01DUn71wIz80u58+eAfEwiqKqkazbi1lilAxO35D6Ic9W5ilB892QedJj bbWavT9busRAbiPYTbS+qh9Jqbu3Dpw51PN3GKjvNTFIqg+e83H3hSbD3dZg X-ME-Proxy: Feedback-ID: idd01497b:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id E74C3780ABA; Fri, 19 Jun 2026 00:49:18 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 19 Jun 2026 04:49:18 +0000 Message-Id: Cc: "PostgreSQL Hackers" Subject: Re: PG20 Minimum Dependency Thread To: "Tom Lane" , "Jacob Champion" From: "Tristan Partin" X-Mailer: aerc 0.21.0 References: <1399933.1781817745@sss.pgh.pa.us> <1403990.1781821566@sss.pgh.pa.us> <1408166.1781825714@sss.pgh.pa.us> In-Reply-To: <1408166.1781825714@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu Jun 18, 2026 at 6:35 PM CDT, Tom Lane wrote: > I wrote: >> Now maybe we can finesse that, like "you can build PL/Python and >> associated contrib modules with Python >=3D X, but if you want to >> run these optional tests, they require Python >=3D Y". Not sure >> how comfortable I am with that. I definitely don't want to get >> into a situation where we require buildfarm owners to have >> Python >=3D Y installed, because then we will not have any testing >> that proves we didn't break the other part. (So we'd need a >> runtime check to skip these tests on too-old Python.) > > Granting that our pytest framework should silently give up if > Python is too old, the decision of which minimum version to target > is really kind of independent of what PL/Python does. It becomes > a tradeoff of ease of coding versus "how many platforms do you want > this test to be able to run on?". I have no insight on what the > coding benefits are of different Python versions, but I do have > this freshly-scraped data about how many buildfarm members are > reporting which major Python version: > > 3 3.5 > 39 3.6 > 5 3.7 > 5 3.8 > 39 3.9 > 6 3.10 > 21 3.11 > 45 3.12 > 48 3.13 > 12 3.14 > 2 3.15 > > Just eyeing that, it seems like 3.9 or 3.11 would be choices that > still allow most animals to run the tests. The latest versions of pytest require Python >=3D 3.10. In theory, we could pin to an older pytest version. For what it's worth, the latest version of Meson supports Python >=3D 3.7. I wonder if we should tie our Meson and pytest versions together=20 such that they support the same Python version. --=20 Tristan Partin PostgreSQL Contributors Team AWS (https://aws.amazon.com)