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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92A09158011 for ; Mon, 10 Jan 2022 14:43:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF4342BC02B; Mon, 10 Jan 2022 14:43:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 255992BC015 for ; Mon, 10 Jan 2022 14:43:33 +0000 (UTC) Message-ID: <40fc24ef56674241e67b78561fdbfb090e508f49.camel@gentoo.org> Subject: Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Mon, 10 Jan 2022 15:43:29 +0100 In-Reply-To: <908ab66e71703930054cdbfd1cf63eb888ea35e2.camel@gentoo.org> References: <908ab66e71703930054cdbfd1cf63eb888ea35e2.camel@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3 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 Content-Transfer-Encoding: 8bit X-Archives-Salt: 429c394e-d3f0-46d7-a94b-ea688997dcd9 X-Archives-Hash: ad000a7913d8b0783ead0275605ddda0 On Mon, 2022-01-10 at 06:39 +0100, Michał Górny wrote: > 4. We could have the eclasses switch to "local" model and rename > the .egg-info files somehow at some point. The main question is "rename > how?" > If anyone's interested, I've published a proof-of-concept for this: https://github.com/gentoo/gentoo/pull/23721 Long story short, the eclass detects if vendored distutils are being used and renames the directories from .egg-info to .g.egg-info then. This basically means the tag changes from e.g. "py3.8" to "py3.8.g". I'm testing this approach now and it doesn't seem to break anything. -- Best regards, Michał Górny