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 1sGlv1-00H1Ri-4U for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Jun 2024 20:47:08 +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 1sGlux-00GA2z-MK for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Jun 2024 20:47:04 +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 1sGlux-00GA2r-6D for pgsql-hackers@lists.postgresql.org; Mon, 10 Jun 2024 20:47:04 +0000 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sGlut-000zYu-Im for pgsql-hackers@postgresql.org; Mon, 10 Jun 2024 20:47:02 +0000 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-4403bb543a4so24225241cf.1 for ; Mon, 10 Jun 2024 13:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1718052418; x=1718657218; darn=postgresql.org; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=SWJPIAG8bfqcNGrbM10WMZMJo1IXpdNvbHpXMHBqtgs=; b=YSYeXJEnNtdLWbD8IQMmXG3asGxyAjjbcaS5BQQLsWwBJYqcrw1SVDUjcOdg77e5Y7 AA8doYw8zmZNahpcCjN3nWU1GPHOeEsBnOJgEJIZqW2Be5DBRbso5eJRhpcFd/005odM 2Mpk9lEXcAz+eC/6alhaHGqU8Am0lfj7KLlPJIHCwV1Nkh6T56fBxXRi4EO2aFEsnB5Y s+8aWueIWvgvG3P6LOYkcdWnlSjjFiwza888sL4I+M27yD9QtvZkDhhx+O21jF5Wnezq G7N9s2O7DREkPUmA4RfApWfXNfi79qhYKf0PoUdFPESoqhRMxt3mbqQ7jAx4hIEkBf/T 2twg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718052418; x=1718657218; h=in-reply-to:autocrypt:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SWJPIAG8bfqcNGrbM10WMZMJo1IXpdNvbHpXMHBqtgs=; b=VoIpKatojR9vDNM4OeBTnDqboTJC5v3x8sDPerodXm2BlBUH2wYMhNsiW8oQC6FEXs +oIvVyg2fMWYgJoqLa2rO6fxDrQ30lPAcqKnvxX4C5qYhhvgb+tc+QLGczW/yJ0gOJRo PO33HzNK1evG/xYRknw2oixRXDfCozZDCbbGP4kFECfnf6Egm0L95b90bPUHMprdDIlq C/uGg1AoSw80ooNzt9ih+zOaTO1Xoog39koyP9XMtyePe6lFKmCPA0u9CkfK/ZI0a4BR HNQP26hEo3jMl+0wZkbupbnB1W6v/EQEGA6YWMi6VS4enq9E6pQMoH0V1DHa8qMsvPrx 6gwg== X-Gm-Message-State: AOJu0YxhOvzAoiMFJBBLHL4TK5Kpv0DJ6nj3go4AWNBPoRUOFaMvS6u7 ZSyerMz9JHCmITztJJBzyDw2LPd3Ok1jzDiRAV172N+GTmUKYW2mBc4uxItObFBrn64PLX9NIyL U X-Google-Smtp-Source: AGHT+IHH34ebJhKNouZiZ1WsG7tzFxMEzPpy1S69VAQw+cf5uZi2WgWHGp8RSs/rGf2LCgJ1iJjggQ== X-Received: by 2002:a05:6214:501a:b0:6b0:76f1:864f with SMTP id 6a1803df08f44-6b076f188camr66854006d6.63.1718052417405; Mon, 10 Jun 2024 13:46:57 -0700 (PDT) Received: from ?IPV6:2605:a601:9180:9800::2bb? ([2605:a601:9180:9800::2bb]) by smtp.googlemail.com with ESMTPSA id 6a1803df08f44-6b0665b021bsm33304126d6.92.2024.06.10.13.46.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jun 2024 13:46:57 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------cupc3XIDfNB3mUyg0Eo3Nb5z" Message-ID: <00c5efe6-1abb-42f8-a9a7-ed3a055c4b92@dunslane.net> Date: Mon, 10 Jun 2024 16:46:56 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RFC: adding pytest as a supported test framework To: Andres Freund , Jacob Champion Cc: PostgreSQL Hackers References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZAQULCQgHAgMiAgEGFQoJCAsCBBYCAwECHgcWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUC ZFlxxwUJGVGAbgAKCRCZ+n/LWfw7gXikB/9ZdcUy6CTBFIIuL/bVsc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ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------cupc3XIDfNB3mUyg0Eo3Nb5z Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-06-10 Mo 16:04, Andres Freund wrote: > Hi, > > > Just for context for the rest the email: I think we desperately need to move > off perl for tests. The infrastructure around our testing is basically > unmaintained and just about nobody that started doing dev stuff in the last 10 > years learned perl. Andres, I get that you don't like perl. But it's hard for me to take this terribly seriously. "desperately" seems like massive overstatement at best. As for what up and coming developers learn, they mostly don't learn C either, and that's far more critical to what we do. I'm not sure what part of the testing infrastructure you think is unmaintained. For example, the last release of Test::Simple was all the way back on April 25. Maybe there are some technical superiorities about what Jacob is proposing, enough for us to add it to our armory. I'll keep an open mind on that. But let's not throw the baby out with the bathwater. Quite apart from anything else, a wholesale rework of the test infrastructure would make backpatching more painful. cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com --------------cupc3XIDfNB3mUyg0Eo3Nb5z Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit


On 2024-06-10 Mo 16:04, Andres Freund wrote:
Hi,


Just for context for the rest the email: I think we desperately need to move
off perl for tests. The infrastructure around our testing is basically
unmaintained and just about nobody that started doing dev stuff in the last 10
years learned perl.


Andres,

I get that you don't like perl. But it's hard for me to take this terribly seriously. "desperately" seems like massive overstatement at best. As for what up and coming developers learn, they mostly don't learn C either, and that's far more critical to what we do.

I'm not sure what part of the testing infrastructure you think is unmaintained. For example, the last release of Test::Simple was all the way back on April 25.

Maybe there are some technical superiorities about what Jacob is proposing, enough for us to add it to our armory. I'll keep an open mind on that.

But let's not throw the baby out with the bathwater. Quite apart from anything else, a wholesale rework of the test infrastructure would make backpatching more painful.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com
--------------cupc3XIDfNB3mUyg0Eo3Nb5z--