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 1sHoux-00B0aU-FT for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jun 2024 18:11:23 +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 1sHouv-0058Th-8A for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Jun 2024 18:11:22 +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 1sHouu-0058TZ-Uk for pgsql-hackers@lists.postgresql.org; Thu, 13 Jun 2024 18:11:21 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHouo-001VQf-VX for pgsql-hackers@postgresql.org; Thu, 13 Jun 2024 18:11:21 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a6ef8bf500dso160689166b.0 for ; Thu, 13 Jun 2024 11:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718302274; x=1718907074; 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=DsY11/J931D4HB2RanuDtQEVjVsuT2+c1D7sOGdtLqo=; b=bfP/DkqOA9p8qv4bkO2cmyK2HGESRf4gSMAT3ShH3E4hsLCLqoVR9v9motas+sKO5P h//6JAxCGwB0wRxBocdvmZ4C15PbkUJzQQCetQOObHqcoci7dgHdgZff5F0yfdbFlSVo sZX2ob7ho0JG5YkY5y6DCLkxwr5vxHVYWgDyP/jjYCKUe/nV4cEzh2ek78o9L2JZd7XN 6ry4F17QTkwrnAzvMAqUbJwwVFMI+l2POKawVnoGMwtjW4ORKQ9m/kC2zAZHQHoGtlOp cQCvqbQpLnARTPT65qESMLQYdKfU0c29KH08sgu4uZayjKxetWOKpt+4/8qY8VXstlFK DE0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718302274; x=1718907074; 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=DsY11/J931D4HB2RanuDtQEVjVsuT2+c1D7sOGdtLqo=; b=VBASBlmtBTBYBMsX/BcohWYQI0KG6sE+KmE7hx9d9RBRgay1cVfFoIcQYtUJzuF5zI 53Ak8dEMYFLsaz0EfhWADEKpt4y1/FNlXl6XsVg9nYFepyhHJ9wKoIE6h2bmoZCraF2Y aeDNU8/FwdLSWvPd5fZAo/ql35nACAyhZN88Yto9ln0X0gTuVu5RhWJPOFQlsGpTWRyV 6g7+Si6qH082swtcK1ZT093Jt8Fx7Lue0mRB/6XouxLjIbefOLSeA/gBqEj0vXNKNB/A ra1HZ5pDbt0iVvGH8dl47ZIubNHJZsrFOxU7lLGLfUohKGRf/sV7jHnbkTe8af+tUx31 Q5mQ== X-Forwarded-Encrypted: i=1; AJvYcCW+/WfpMuz8ezGc39axmPrOhIIl1y1OuPnjttuGBp9rQwfxnyTXU4WNE11FSjMF+5pVT5A/XRm2z7mcLMO0lNRzyUsZwtav3qkytBVm X-Gm-Message-State: AOJu0YzUmZ2y5vbzOX3nL1nuS6K5OpPEf6fXMWSREBB8FRkOedUgbELR rEVqe0KO98UkCv/A6ZZTmsNu0ZFE5mnJk/wBnq19lJrCnToa/qbrmp3WXUS1em7g8Uxut57kwCa hRcavJbUOOxxJFHAe8VERxbpD+7A= X-Google-Smtp-Source: AGHT+IGi7IXBUoqG6Mq5jxJV3DgcjmYGkTslgP4WWvzd2kvF0EmFlNdu4i1oAPfZjVyNBiQDD299Jwrh75vKAyNhmjA= X-Received: by 2002:a17:906:ae46:b0:a6e:f763:1c87 with SMTP id a640c23a62f3a-a6f60cefcccmr39345266b.13.1718302274124; Thu, 13 Jun 2024 11:11:14 -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 14:11:02 -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 Thu, Jun 13, 2024 at 1:08=E2=80=AFPM Jelte Fennema-Nio wrote: > I think 1 & 3 could be addressed by more easily giving commit/merge > access to these tools than to the main PG repo. And I think 2 could be > addressed by writing on the relevant wiki page where to go, and > probably putting a link to the wiki page on the actual website of the > tool. +1. > But Perl is at the next level of unmaintained infrastructure. It is > actually clear how you can contribute to it, but still no new > community members actually want to contribute to it. Also, it's not > only unmaintained by us but it's also pretty much unmaintained by the > upstream community. I feel like I already agreed to this in a previous email and you're continuing to argue with me as if I were disagreeing. > As you said, no one in our community wants to maintain our testsuite > full time. But our test suite consists partially of upstream > dependencies and partially of our own code. Right now pretty much > no-one improves the ustream code, and pretty much no-one improves our > own code. Using a more modern language gives up much more frequent > upstream improvements for free, and it will allow new community > members to contribute to our own test suite. I also agree with this. I'm just not super optimistic about how much of that will actually happen. And I'd like to hear you acknowledge that concern and think about whether it can be addressed in some way, instead of just repeating that we should do it anyway. Because I agree we probably should do it anyway, but that doesn't mean I wouldn't like to see the downsides mitigated as much as we can. In particular, if the proposal is exactly "let's add the smallest possible patch that enables people to write tests in Python and then add a few new tests in Python while leaving almost everything else in Perl, with no migration plan and no clear vision of how the Python support ever gets any better than the minimum stub that is proposed for initial commit," then I don't know that I can vote for that plan. Honestly, that sounds like very little work for the person proposing that minimal patch and a whole lot of work for the rest of the community later on, and the evidence is not in favor of volunteers showing up to take care of that work. The plan should be more front-loaded than that: enough initial development should get done by the people making the proposal that if the work stops after, we don't have another big mess on our hands. Or so I think, anyway. --=20 Robert Haas EDB: http://www.enterprisedb.com