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 1sHkf4-00AX4c-HP for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jun 2024 13:38:42 +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 1sHkf2-001YuD-3T for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jun 2024 13:38:40 +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 1sHkf1-001Yu5-Pw for pgsql-hackers@lists.postgresql.org; Thu, 13 Jun 2024 13:38:40 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHkez-001TRI-Ru for pgsql-hackers@postgresql.org; Thu, 13 Jun 2024 13:38:40 +0000 Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a6f04afcce1so141780466b.2 for ; Thu, 13 Jun 2024 06:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718285917; x=1718890717; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dxkilg9OH2xtpj8yh3PjtGjmJECDv17WL+n10trqVaw=; b=h7bbaJko1sxhsriRri2cuL5xHHIKzBlgJeYMwxiP0mLVXnkdWx+JqtFnkIPRnfQNw5 9HOiI9q1KEgaStHAZb7oqsEgNn2MRcQw824qtAYLI/SmjdFqaWsB5g0KTmcr9nMMGmeg YJ/W6ouXqrkdqkbElQCRWqg+NCK9lwlbq/97ebpUIDi6ChU8766/r82FeL0M/m2/PrQd UchIkqV2YTwyJmdmBwcGGnTDWJ9pFzR9AjmLyrclCIW1jwPbfXHJC2I5iyi+I3zNit2V GLbnKwaQHRLkmYK3gu/F5rSv5G8ALBh6M1EQQeh1gyrpriTynWDkWJQdkueS/X4OAJl/ H43Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718285917; x=1718890717; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dxkilg9OH2xtpj8yh3PjtGjmJECDv17WL+n10trqVaw=; b=ub4fUqBCFpzfNCHfju5RcYmypU3jtGfpp+g4nqWO0V1afk3RuoWN7E0K2pfGacLYOM jPCA1NkCbcWC/mj1YVAJmJNLO2T0BrXMq4QlcaH7wAkNHlFfKT/j+0A2C95mQLUNXj8P Q5prbN8vay+5JXaJ9ntbDbMZ8OtTEw02Uau9AZL0sx2eGroY4ypPx9mGLnIzeVGYgNuG S0l57yufy2qSa+g9VjW9pJknKA2NPtlB1/NqYbktEmyai5Jb9waKcaF4tVrJjcTurY4W pVdgQgoH3QQZqCbYGIWiVibylHZZjPGYogM9LIDGpE2oNROQVW6A1LKJ4oM+l33Djkc+ tZoA== X-Forwarded-Encrypted: i=1; AJvYcCXD2+HXH7P3jh836jnAyZEOla+UT/6u2qnd8mUAIhk06v9GMdP1S+Oy/S2A/kCt8K2A25mXGnEuC9RBOzbQI0Cdml1yrUgt/NLWLDq3 X-Gm-Message-State: AOJu0YwdlrWnoOvNI1FkBDjmmGiixViIAveL6Eu/am1X/cf8kYGvhRTw scNWVVx0b63l56Nc2HLlYEpFMgRVU2IlfbEC3NGDk8ESE9drxVQdzqldCWRgdLNEAvumWIJmDP2 OeuLtPFwzXb922bp6YJVi7qQJmes= X-Google-Smtp-Source: AGHT+IFG3Eusjll7PRIIizgrAuLQUQqpYrMYucl2yv7gibBKkZukSBzgKHZuJBuSbLJLV9gS10uA2Viq0hLKbBUzymE= X-Received: by 2002:a17:906:af0a:b0:a6f:523a:8e94 with SMTP id a640c23a62f3a-a6f523a91d2mr223953566b.35.1718285916284; Thu, 13 Jun 2024 06:38:36 -0700 (PDT) MIME-Version: 1.0 References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <20240612155040.u6cvatdb5tiwcxci@awork3.anarazel.de> In-Reply-To: From: Robert Haas Date: Thu, 13 Jun 2024 09:38:24 -0400 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Jelte Fennema-Nio Cc: Daniel Gustafsson , Andres Freund , Jacob Champion , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. Literally everything I know of either has one or maybe two very senior hackers maintaining it, or no maintainer at all. Andrew maintains the buildfarm and it evolves quite slowly. Andres did all the work on meson, with some help from Peter. Thomas maintains cfbot as a skunkworks. The Perl-based TAP test framework gets barely any love at all. The CommitFest application is pretty much totally stagnant, and in fact is a great example of what I'm talking about here: I wrote an original version in Perl and somebody -- I think Magnus -- rewrote it in a more maintainable framework -- and then the development pace went to basically zero. All of this stuff is critical project infrastructure and yet it feels like nobody wants to work on it. Now, this case may prove to be an exception to that rule and that will be great. But what I think is a lot more likely is that we'll get a lot of pressure to commit something as soon as parity with the Perl TAP test system has been achieved, or maybe even before that, and then the rate of further improvements will slow to a trickle. That's not to say that sticking with Perl is better. A quick Google search finds a web page that says Python is two orders of magnitude more popular than Perl, and that's not something we should just ignore. But I still think it's fair to question whether the preference of many developers for Python over Perl will translate into sustained investment in improving the infrastructure. Again, I will be thrilled if it does, but that just doesn't seem to be the way that things go around here, and I bet the reasons go well beyond choice of programming language. --=20 Robert Haas EDB: http://www.enterprisedb.com