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 1sHTjh-0081Px-Dk for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 19:34:21 +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 1sHTjf-005osn-8L for pgsql-hackers@arkaria.postgresql.org; Wed, 12 Jun 2024 19:34:20 +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 1sHTje-005or6-Uz for pgsql-hackers@lists.postgresql.org; Wed, 12 Jun 2024 19:34:19 +0000 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sHTjd-001Km0-DG for pgsql-hackers@postgresql.org; Wed, 12 Jun 2024 19:34:19 +0000 Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-7955dfce860so10780185a.2 for ; Wed, 12 Jun 2024 12:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1718220855; x=1718825655; 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=EPjLhnNek+8MfgFpnxwFa2yW238n0DWd/lTUZsDlbGI=; b=ZnxjHqv8JHO3Zk9R4fxcwGVo2e9DHjla3gWtl4o027zg/akQkKu1V15ZWmFYAQZg/Q DlZ3rYWmJov/CjUd6h+PZnq4XZY8KzF2XQniz1xNFNVD3UdsISh67fFbbfFrFlKLtQXr 3Cb9WrdCKY//wsbajNCyvpUkyEmLKSABUpRA+uG27YVkv1pX7SE3faNKpPiJlCmZRIhd TX8pP2zIgjob21KMUVx21H0utdRRhHp+gnMAnx87XZE1Qncr0B3an6EZsso4/JV+dxkA Dl/bmHFQQJ8al5rClhMRlYNpUqBXQ1Tvlol1sXy0opfmduUCNVjCGXlc8aYHRjzbx0Xd Qk7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718220855; x=1718825655; 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=EPjLhnNek+8MfgFpnxwFa2yW238n0DWd/lTUZsDlbGI=; b=iHelWJmR8wO+ynCq0K+GwtqHNv/fedReyk4y/87twxbvHJcUFt59NLNyIqkur2Vocv +1fB8SIaYvC8vV2v9Y6B63457QTa94XEoAN85PrcJC5Sw/NBEdXJ0ZvdMQ1ZREmlL7mw OmioWxbkN+kOVrOwk5sXGaC8ikC/GR1wSWi/ryibCjSYLpC3K1HnrJiw6wbKfxUjiq+9 FEk7jLGG7Q0NLsFJPLmYeS3qXYGISKex29KGBE89cKomePjTFPhHzEg3mmNkZ7kP1nlm Sh3hsOVLFbeE9d69hF2iGrT+sfNQ07Ax8XKx8aIeXNzIl7Wz4GYW7j3WgaC4O+94i8xD dObw== X-Forwarded-Encrypted: i=1; AJvYcCWsEpFCQSVU/BLAjTRDqPlRKTtNyVV8cOLquoLNyFtgYXqIk41J3tXCUHVYpNAJFG+Q4ym3tqZ740IjrHNOBQ/RajWzbiooEXjvEQOK X-Gm-Message-State: AOJu0YxRVOu920aqyO8QrWXLLTozsRHJOaB9ydlOKtUafov29zJY1pB6 fhG9TrCvwnHyYMzGNxfzK3ntOX1yE4NLlmHLTSxx1vaI4wSTFqOgVa+iDo4LWqhDwB83B9GiTaJ 98xX4E5+DzFceMkcfTGA3UrQAr9lRcvAzbQQ/ X-Google-Smtp-Source: AGHT+IFBkDju4qTiVBbLgNwVR79c5sWFRHN7aZm0pPCS3BiBMoicjWcWDgxDzip7bOw+COugU+wB4eqI9QUiPYb2WAk= X-Received: by 2002:a05:6214:43c2:b0:6b0:7342:b6d9 with SMTP id 6a1803df08f44-6b1a7225c54mr33902976d6.49.1718220855083; Wed, 12 Jun 2024 12:34:15 -0700 (PDT) MIME-Version: 1.0 References: <20240610200411.byj6sv2vpgol6wcf@awork3.anarazel.de> <20240612155040.u6cvatdb5tiwcxci@awork3.anarazel.de> In-Reply-To: From: Jacob Champion Date: Wed, 12 Jun 2024 12:34:04 -0700 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Daniel Gustafsson Cc: Andres Freund , 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 10:30=E2=80=AFAM Daniel Gustafsson wrote: > I might be missing something obvious, but if we use a third-party libpq d= river > in the testsuite doesn't that imply that a patch adding net new functiona= lity > to libpq also need to add it to the driver in order to write the tests? I use the third-party driver to perform the "basics" at a high level -- connections, queries during cluster setup, things that don't involve ABI changes. For new ABI I use ctypes, or as other people have mentioned CFFI would work. --Jacob