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.96) (envelope-from ) id 1vdGo7-00G5Yv-1W for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jan 2026 23:49:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vdGo6-00B0wd-0Y for pgsql-hackers@arkaria.postgresql.org; Tue, 06 Jan 2026 23:49:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vdGo5-00B0wU-2U for pgsql-hackers@lists.postgresql.org; Tue, 06 Jan 2026 23:49:46 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vdGo4-004cfP-1H for pgsql-hackers@postgresql.org; Tue, 06 Jan 2026 23:49:45 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-37b9d8122fdso11809731fa.3 for ; Tue, 06 Jan 2026 15:49:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeltef.nl; s=google; t=1767743381; x=1768348181; 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=juzorg/ydKBWWcBCH+QE9MKZfzvba7YZTXn6XQ1RjlE=; b=drPhddoEXeFFXh/nbyMbO1lOulxcpJLCcFEmEqPdNytzOvyKPnZisgxm8kuqmjongg +M5xRFJMrEz5BGmQPZ+nWUOrq9pQW6YQg3O8KBLUtb3nyd8OhIkoxj8t8AAWcpU6USKO bopVkRWAjOj27PUF9AmAPzKbAiAkFObN/CZrScprewalTk/i0c+5VrpcYBUEyh4YXLE/ J5JMtzgRt4O2UdWYgHGt/a/Yv7kf+q8dyxVilHVZKQ2PpcLmD9ThgCz/VwKF7HmtxbP3 T9VbEIq5ploQwQQSoVwlYXnTYFAF79U//Lww5uN7w8pP0HVfBV5uMFisLEgAAuUPEeZm 5OsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767743381; x=1768348181; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=juzorg/ydKBWWcBCH+QE9MKZfzvba7YZTXn6XQ1RjlE=; b=fhtlrGGJQ7n37HE0sy7MEggoH5b24/p7kNPYfeGgyNfb2rO4haewjDo6krCsB2UiDZ ghaSU/IAV/siDK4vqdLWtaOfBBFmZW+1vDgB2YIzp1G8zKc0YM8HwXQzLYeMth6LKEvp b9qZSOLNd/BPksrkf8ikJpN3pQQ2qtUsEjUQ/PIyvN+gwx8Emg/d2iNsOYEN6oiIStpY aiFXZEn+EorskBzwcFFxsjKy6EFvd1LAfFcEeEiEX2RlADvoBhXJKGylliXbH4qYBs7Z ni7Ynq820y82pe/pDSbUr5Z3whiWDs4TNeSnnEHLKybLDL8QDKuiVTMcyKKQZQBM1HBj PbZA== X-Forwarded-Encrypted: i=1; AJvYcCUvcgaJOs34gnqZNktbDe41pKP+quiTP2IKHaRd9PW9zjFQihAB4jQ5ZnOO53350XPmtG+6+1DSixMNnL4D@postgresql.org X-Gm-Message-State: AOJu0YzX08LHiBRtjU9IIMJHdMhCGELUPcBGSOzDFg0sorATFffnL5// 11EjEzyumbUAV6qu3pmOSFtYfUWJ0D9dErdSeTf1tFhU99ip9rk/unUgIfsmf9mS6cL0Q+ddWEw wkV+r57cRR8YxF0I91rKsn+PxSvN5odUsYNGYD0ao6Q== X-Gm-Gg: AY/fxX4+0SG5BvAgduLhfbaYGrWDj1hGBL0GXlnh01Gakkdn0N1Mk1YQjD49EWYG7xt aLTCtRqA6/1MPXdGFFfq53W+5tRrcKBGWgjDl5sJ9X9/AvRVUeNDLxEGZ1ngu2kL/iLhxuho7bU EdhdCkMHdHKCUsiZeeMck2vpajcSmNgjK3+MAJalZn6oNej9hBVrxrz5v4g/Jheb9KycqOuqmCV KS7pjisTwiN13hatwcEzbHGvsaOOXf4XGficak1FXxha7BKWG1hesVxii/PVfAuuvv4N8rNYUo5 moGCSww+c21G97Btf4ZtqnaVtw== X-Google-Smtp-Source: AGHT+IHzblVpa7wJ3YzZ3KhlqyF8IneSpu5hDCCmB4+gSXMcZw9V2oAGXira2AM1o+vIzhsU6T2MbPLwoENqU+rYg/A= X-Received: by 2002:a05:651c:1474:b0:37a:3963:ce8f with SMTP id 38308e7fff4ca-382ff7037b0mr1575871fa.33.1767743380255; Tue, 06 Jan 2026 15:49:40 -0800 (PST) MIME-Version: 1.0 References: <2302192.1718380169@sss.pgh.pa.us> In-Reply-To: From: Jelte Fennema-Nio Date: Wed, 7 Jan 2026 00:49:28 +0100 X-Gm-Features: AQt7F2p6iVLyZEwciGUz67ZWEF9zFT-P5cczMcUgKaqXKhWz5G9ZiYNy6Y3ogG0 Message-ID: Subject: Re: RFC: adding pytest as a supported test framework To: Andres Freund Cc: Jacob Champion , PostgreSQL Hackers , Robert Haas , Daniel Gustafsson , Tom Lane , Peter Eisentraut , Nazir Bilal Yavuz Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 7 Jan 2026 at 00:17, Andres Freund wrote: > I'm somewhat sceptical that the .venv support should be introduced together > with the rest of this. Could you expand a bit on this? My thinking was that people have a tendency to get confused by python dependency management (because there's too many options to do it). So having an easy documented and supported way to do it seemed like a good idea to have people not get frustrated. Would you rather have it only be documented how to install the python dependencies? And not have meson/autoconf automatically detect the .venv? To be clear, if it was only pytest then recommending "pipx install pytest" would probably be easiest, but it seems like we'll at least want cryptography for the tests Jacob is writing. And I'm also thinking ahead a bit towards being able to use (a specific version of) ruff for formatting & linting of python code. See also[1] [1]: https://www.postgresql.org/message-id/flat/DFCDD5H4J7VX.3GJKRBBDCKQ86@jeltef.nl