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 1sHmF6-00AiBo-Fu for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jun 2024 15:20:00 +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 1sHmF3-002pLb-AH for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jun 2024 15:19:58 +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 1sHmF2-002pJv-Vu for pgsql-hackers@lists.postgresql.org; Thu, 13 Jun 2024 15:19:57 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHmF1-001UCb-MO for pgsql-hackers@postgresql.org; Thu, 13 Jun 2024 15:19:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 45DFJlGj1799089; Thu, 13 Jun 2024 11:19:47 -0400 From: Tom Lane To: Robert Haas cc: Jelte Fennema-Nio , Daniel Gustafsson , Andres Freund , Jacob Champion , PostgreSQL Hackers Subject: Re: RFC: adding pytest as a supported test framework In-reply-to: References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <20240612155040.u6cvatdb5tiwcxci@awork3.anarazel.de> Comments: In-reply-to Robert Haas message dated "Thu, 13 Jun 2024 09:38:24 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1799087.1718291987.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 13 Jun 2024 11:19:47 -0400 Message-ID: <1799088.1718291987@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Wed, Jun 12, 2024 at 6:43=E2=80=AFPM Jelte Fennema-Nio wrote: >> I agree it's not a technical issue. It is a people issue. There are >> very few people skilled in Perl active in the community. And most of >> those are very senior hackers that have much more important things to >> do that make our Perl testing framework significantly better. And the >> less senior people that might see improving tooling as a way to get >> help out in the community, are try to stay away from Perl with a 10 >> foot pole. So the result is, nothing gets improved. Especially since >> very few people outside our community improve this tooling either. > I agree with you, but I'm skeptical that solving it will be as easy as > switching to Python. For whatever reason, it seems like every piece of > infrastructure that the PostgreSQL community has suffers from severe > neglect. Yeah. In this case it's perhaps more useful to look at our external dependencies, the large majority of which are suffering from age and neglect: * autoconf & gmake (although meson may get us out from under these) * bison * flex * perl * tcl * regex library (basically from tcl) * libxml2 * kerberos * ldap * pam * uuid library I think the basic problem is inherent in being a successful long-lived project. Or maybe we're just spectacularly bad at picking which things to depend on. Whichever it is, we'd better have a 10- or 20- year perspective when thinking about adopting new major dependencies. In the case at hand, I share Robert's doubts about Python. Sure it's more popular than Perl, but I don't think it's actually better, and in some ways it's worse. (The moving-target package collection was mentioned as a problem, for instance.) Is it going to age better than Perl? Doubt it. I wonder if we should be checking out some of the other newer languages that were mentioned upthread. It feels like going to Python here will lead to having two testing infrastructures with mas-o-menos the same capabilities, leaving us with a situation where people have to know both languages in order to make sense of our test suite. I find it hard to picture that as an improvement over the status quo. regards, tom lane