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 1sJBKV-002vBn-RW for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jun 2024 12:19: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 1sJBKT-00GHsh-HC for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jun 2024 12:19: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 1sJBKT-00GHsZ-6j for pgsql-hackers@lists.postgresql.org; Mon, 17 Jun 2024 12:19:22 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sJBKR-0027Ks-BI for pgsql-hackers@postgresql.org; Mon, 17 Jun 2024 12:19:21 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-70346ae2c43so1756151a12.1 for ; Mon, 17 Jun 2024 05:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timescale.com; s=google; t=1718626757; x=1719231557; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=x5YQW+MTI8wASk9PseixffBO79ETaaGFdXWTf2xI+fE=; b=QF//6GvyS6C6Y27qw0GicD9+QoRZQeWjR1GNEl17aSJwB67hEuN2IS+NWu7c14U5C7 2O0WaPH54YTyxJRxVviriwMX34g0I8Gm5gk4wkiX0w9rkGSDZVDBycsQB0XOsyx9CqGK TOKBlab3E9YKxCHMfOI6BG0YDELH3SUKiTxLgHm2Yp0qn8J9aXh/LEIvQ4H/ndwNHDTg 1R7Q9zCHTvr5Iqe3PLZY80BOhX9Y6RBQHQcVTTHF5Bj1ol0+giTtamsOvS9+ABtwsyil JwjZrU7t/6arH/7ToMlbyLF1l5qRFriuYywGU0IdPMEQNub+OGIU8Bpc+4EX/UQLjL7o mfPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718626757; x=1719231557; h=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=x5YQW+MTI8wASk9PseixffBO79ETaaGFdXWTf2xI+fE=; b=cwIliGWK2qZ+P3x/ArIGzmWQeiU5KGKCZUFCY3KapYw/S3AAKQwjqOiht5G/Z85iqM R7ur1XM1DVCJduUpfm2KJXORWqzuwE/3Pm0RlNnNpwmWkKNgQOulCJTGLvpDx3DQVJ9m G/YbMM0ESIdV2LcGZRzWloA6xarlJye/Qku/hO/PzyTYB9tYZFdjZsBGp9s0Py5bga2T bYEK3fiBAv/3OdzaoGEPMsdgcGQWc5pM3D7ZQlweBDS/GmxL+XhyfAkDthIGTdO3gj0m /Yt/8S1zfgD5B80ou7Vg8FMFtMPr7cyAI4K4HbbEVUuoFRLMXDKnglBCBO33mUAGderZ y2hw== X-Gm-Message-State: AOJu0YwogCBM8lkCclkBSxQyaOfwPg++RbR3nRVpKcNjwGWnCWoUVg1t I8IFPWvKN8+xZClNrJ+6yxbhv9BJ82ZSvDwhngmWyE3QL3EyA6IxjzpGNgfzepeHnjWHArV/B/R LeUsxHLrNwmZzhMuxSopdp1OTJDJ8OHltanXr5DWbdVQSWpymp8o= X-Google-Smtp-Source: AGHT+IGmllrRDvtKBhAa34Tmq0A4q14nwj4Iw2tnXyB6m5rVj4iGxGJm3J6kXiZDUGSIbRfM0Qsnh2dHiqWUsCUlzCk= X-Received: by 2002:a17:90a:5d0d:b0:2c4:e2d6:8de6 with SMTP id 98e67ed59e1d1-2c4e2d68f5dmr13135934a91.21.1718626757227; Mon, 17 Jun 2024 05:19:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Aleksander Alekseev Date: Mon, 17 Jun 2024 15:19:05 +0300 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Jacob Champion Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Jacob, > For the v18 cycle, I would like to try to get pytest [1] in as a > supported test driver, in addition to the current offerings. > > (I'm tempted to end the email there.) Huge +1 from me and many thanks for working on this. Two cents from me. I spent a fair part of my career writing in Perl. Personally I like the language and often find it more convenient for the tasks I'm working on than Python. This being said, there were several projects I was involved in where we had to choose a scripting language. In all the cases there was a strong push-back against Perl and Python always seemed to be a common denominator for everyone. So I ended up with the rule of thumb to use Perl for projects I'm working on alone and Python otherwise. Although the objective reality in the entire industry is unknown to me I spoke to many people whose observations were similar. We could speculate about the reasons why people seem to prefer Python (good IDE support*, unique** libraries like Matplotlib / NumPy / SciPy, ...) but honestly I don't think they are extremely relevant in this discussion. I believe supporting Python in our test infrastructure will attract more contributors and thus would be a good step for the project in the long run. * including PyTest integration ** citation needed -- Best regards, Aleksander Alekseev