From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B24615815E for ; Thu, 1 Feb 2024 19:44:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4856E2A13; Thu, 1 Feb 2024 19:44:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7F606E2A0B for ; Thu, 1 Feb 2024 19:44:41 +0000 (UTC) Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-dc6d8f19ab3so1142812276.3 for ; Thu, 01 Feb 2024 11:44:40 -0800 (PST) X-Gm-Message-State: AOJu0YxB7zKhB8wHbKYGBcVfNPoGFzqqyFBY9mAKkzBtN3FtKMJ5wX7j iJMUiiZe9bgW6h7fWYdAGPq+NzwFG1IDblYxH4dZXsZjtlAdC1YNc0m8NGhycdZsHg2Lm6L0Ub6 f0jngfpm/xTI2xrriyAvLJd1Cw1s= X-Google-Smtp-Source: AGHT+IHL1owYJUKrVhTgkyPmUdkMpfmFjqXy5JXS3cw74cWVpDrsQEUZMb4pHnDemsBmn/UDVGBV2FoJKhfACNiVRn4= X-Received: by 2002:a25:840f:0:b0:dc6:b817:7f87 with SMTP id u15-20020a25840f000000b00dc6b8177f87mr75516ybk.22.1706816678822; Thu, 01 Feb 2024 11:44:38 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Mike Gilbert Date: Thu, 1 Feb 2024 14:44:27 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 79f56229-a137-4567-ac16-a0e043d3f4f6 X-Archives-Hash: 969c0e6c4f705791ed139ad68a26cade On Thu, Feb 1, 2024 at 3:15=E2=80=AFAM Robin H. Johnson wrote: > > TL;DR: > I'd like to propose a change where packages should NOT install their > tests to ${D} by default. Such an install may optionally enabled with > USE=3Dtest, which should be decoupled from FEATURES=3Dtest. Or depending = on > the color of the bikeshed, we add something new like USE=3Dinstall-tests. > > Background: > Python packages install a number of _test.py files, and related .pyc > files. The files are generally useful for running tests after the > package is installed, and may have additional testing dependencies that > are not installed via RDEPEND. It sounds like you want to resurrect bug 531648. https://bugs.gentoo.org/531648