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 1sHRo9-007aWl-JI for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 17:30:50 +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 1sHRo7-003Tdx-5A for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 17:30:48 +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 1sHRo6-003Tdp-Oy for pgsql-hackers@lists.postgresql.org; Wed, 12 Jun 2024 17:30:47 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sHRo5-001Jfv-HX for pgsql-hackers@postgresql.org; Wed, 12 Jun 2024 17:30:47 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 649803023153 for ; Wed, 12 Jun 2024 19:30:44 +0200 (CEST) Received: from s980.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 540472E2BF7B; Wed, 12 Jun 2024 19:30:44 +0200 (CEST) Received: from s474.loopia.se (unknown [172.22.191.6]) by s980.loopia.se (Postfix) with ESMTP id 518172201524; Wed, 12 Jun 2024 19:30:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s474.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s980.loopia.se ([172.22.191.5]) by s474.loopia.se (s474.loopia.se [172.22.190.14]) (amavisd-new, port 10024) with LMTP id Y9syRgNFMeNq; Wed, 12 Jun 2024 19:30:43 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s980.loopia.se (Postfix) with ESMTPSA id B4040220157A; Wed, 12 Jun 2024 19:30:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1718213443; bh=LnaD4mFvzYNFiCvTcHpkbkaWIDGFin6ISQhaTZnH3Cc=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=PbbQgmqu/utqRI8c1tGIqO9kjLb0OuAsJYtsgkN7f147OLrdhAujZNhkW4V4aRDkk w7Yty8HABI3R9/ag2wB8QwIr/OeLj1nlvUnZrfWDteQTQn29FrXfbpzs7jglWalQkO NQYH6oWJc50OKXYn5fyaNs1JEauHjiv1F3aHOVdGd1UE+v0nEZ6DTBuUIYZmyiNN8+ JgepMQdcyPRLe57aUNHH1rVtmHvUXupAgsYYaJdPw0SXGJW90h7Zx1JMf6TPYplG4P 4eJKzJsi1uVSVpqI713uXtBPxlDtZ8e5/SFvJdxGqhbv4FdLQ9Qeja5igSVMgxBnzQ Y+aAEXd/HBN0w== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: RFC: adding pytest as a supported test framework From: Daniel Gustafsson In-Reply-To: <20240612155040.u6cvatdb5tiwcxci@awork3.anarazel.de> Date: Wed, 12 Jun 2024 19:30:33 +0200 Cc: Jacob Champion , PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <20240612155040.u6cvatdb5tiwcxci@awork3.anarazel.de> To: Andres Freund X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 12 Jun 2024, at 17:50, Andres Freund wrote: > On 2024-06-11 07:28:23 -0700, Jacob Champion wrote: >> The OAuth pytest suite makes extensive use of >> - psycopg, to easily drive libpq; >=20 > That's probably not going to fly. It introduces painful circular = dependencies > between building postgres (for libpq), building psycopg (requiring = libpq) and > testing postgres (requiring psycopg). I might be missing something obvious, but if we use a third-party libpq = driver in the testsuite doesn't that imply that a patch adding net new = functionality to libpq also need to add it to the driver in order to write the tests? = I'm thinking about the SCRAM situation a few years back when drivers weren't = up to date. -- Daniel Gustafsson