Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Andreas K. Huettel
Am Donnerstag, 1. Februar 2024, 09:15:39 CET schrieb Robin H. Johnson: > 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=test, which should be decoupled from FEATURES=test. Or depending on >

Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Eli Schwartz
On 2/1/24 4:52 PM, Mike Gilbert wrote: > Ah, that's a relatively new configure option added in Python 3.10. It > didn't exist back in 2015 when I was looking into this. > > https://docs.python.org/3/whatsnew/3.10.html#build-changes > > Thanks for pointing it out. Yes -- but personally, to me,

Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Mike Gilbert
On Thu, Feb 1, 2024 at 4:38 PM Eli Schwartz wrote: > > On 2/1/24 4:03 PM, Michał Górny wrote: > > I suppose you are referring to dev-lang/python here. Unfortunately, > > removing tests from it is a non-trivial problem. As I've mentioned to > > you before, there are packages that actually import

Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Eli Schwartz
On 2/1/24 4:03 PM, Michał Górny wrote: > I suppose you are referring to dev-lang/python here. Unfortunately, > removing tests from it is a non-trivial problem. As I've mentioned to > you before, there are packages that actually import modules form the > test directory. > > Remember that Gentoo

Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Michał Górny
On Thu, 2024-02-01 at 08:15 +, Robin H. Johnson wrote: > TL;DR: > I'd like to propose a change where packages should NOT install their > tests to ${D} by default. That sounds like reverting a lot of effort that has been cleaned up all over the past years. > Such an install may optionally

Re: [gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Mike Gilbert
On Thu, Feb 1, 2024 at 3:15 AM 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=test, which should be decoupled from FEATURES=test. Or depending on > the color of

[gentoo-dev] RFC: Block ebuilds installing tests to ${D} by default

2024-02-01 Thread Robin H. Johnson
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=test, which should be decoupled from FEATURES=test. Or depending on the color of the bikeshed, we add something new like USE=install-tests.