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] [PATCH] 2024-02-01-installkernel-new-use-systemd-boot: add news item

2024-02-01 Thread Andrew Ammerlaan
I'm retracting the previous draft news item "2024-01-30-installkernel-use-rename" and replacing it with the one below. After further discussion we have decided that it is better to have systemd's kernel-install use a 'backwards compatibility' layout by default to solve the problems that users

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] [PATCH] use.desc: Add global http2 flag

2024-02-01 Thread Michał Górny
Add a global http2 flag to enable HTTP/2 protocol support. It is used consistentlyy in 9 packages. Signed-off-by: Michał Górny --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index 311978a68dea..d00e21ff01e2 100644 ---

[gentoo-portage-dev] [PATCH v2] process.spawn: Add returnproc parameter

2024-02-01 Thread Zac Medico
In order to migrate away from unsafe os.fork() usage in threaded processes (https://github.com/python/cpython/issues/84559), add a returnproc parameter that is similar to returnpid, which causes spawn to return a single Process object instead of a list of pids. The Process API is a subset 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.