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 18CD4158086 for ; Tue, 11 Jan 2022 18:24:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2450F2BC02C; Tue, 11 Jan 2022 18:23:53 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 649392BC001 for ; Tue, 11 Jan 2022 18:23:52 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess Date: Tue, 11 Jan 2022 19:23:41 +0100 Message-ID: <5494321.44csPzL39Z@pinacolada> Organization: Gentoo Linux In-Reply-To: <908ab66e71703930054cdbfd1cf63eb888ea35e2.camel@gentoo.org> References: <908ab66e71703930054cdbfd1cf63eb888ea35e2.camel@gentoo.org> 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-Type: multipart/signed; boundary="nextPart10352225.T7Z3S40VBb"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: be3a8833-6d32-4155-9135-9ce008a81c41 X-Archives-Hash: 5987c71fd791562bb56c753b7211f552 --nextPart10352225.T7Z3S40VBb Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess Date: Tue, 11 Jan 2022 19:23:41 +0100 Message-ID: <5494321.44csPzL39Z@pinacolada> Organization: Gentoo Linux In-Reply-To: <908ab66e71703930054cdbfd1cf63eb888ea35e2.camel@gentoo.org> References: <908ab66e71703930054cdbfd1cf63eb888ea35e2.camel@gentoo.org> >=20 > TL;DR: how to deal with setuptools (and newer distutils vendored by > setuptools) replacing .egg-info files with directories? > I should probably emphasize here that the .egg-info path contains > the package version, so this is a problem only if the same upstream > version is being reinstalled. >=20 > You can easily reproduce the problem by playing with: >=20 > SETUPTOOLS_USE_DISTUTILS=3Dstdlib > SETUPTOOLS_USE_DISTUTILS=3Dlocal # vendored > 2. We could control the distutils version in ebuilds directly, > i.e. force "stdlib" for the current versions and have developers switch > to "local" on version bumps. Combined with 1., this will probably > increase the coverage a bit but dead packages will remain in the way.=20 > It also relies on all devs understanding the problem. How about switching it with a new Python version? (since that is also in the path...) =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) --nextPart10352225.T7Z3S40VBb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAABCgB9FiEE6W4INB9YeKX6Qpi1TEn3nlTQogYFAmHdyy1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU5 NkUwODM0MUY1ODc4QTVGQTQyOThCNTRDNDlGNzlFNTREMEEyMDYACgkQTEn3nlTQ ogbbcBAAiXqLQHdLNZZU4jiyp+zFBYYItGJ3eE06Y/5aVVT0DuNMPsRyUXxkCD8t rOSQzlZQ1qU9Im+0udWA0+lYZZXEurWmnq1OgUTuciUQaO5HcRzR3Mva6zSzh2YU JrvEam5AVcPPxV+tWk/KUACbqfHdKVB2AZ2vjufza3fVeCXeYLEzImnqxmIex17L Fq9nM+J7RK9RjHCFhB+GdicBvk3zzCmH7HihBMSb9XrH5cXELPh39igAVnqWypAs lmawGmM7dAZKWFIY1xmPFdNi3YKG3pH1ue3ExFjrLad8uxLzuolNQIrxlCK7UWqv mnxJkG+wlTb4A8P79ObmcftZihIoH/2t/RyYbdODRCTGi/zfnNf40Im7RkTJkHQA a2MFo84q7+C7u0VBS+4hjgrv4U73GlVvzh1UbFZ+t+Qo7dD4RuAg5EQr9sGG2uCY pRKkZ/oY22Ujigny6wSVKTJpW1Q7Y+oZeFEZxiQy2Wl76bCdp+5QezFYDXMesAzU VJD+fsvloWJwKw67OpdPB+Fme0wzOD6B7mytqUkjI1Ap6UhkRkE/ViE/mB0ebyr5 LZNNmTBkzX4K1augw7B7qmxNuOBVQBlk1yL409ihI+5CX3PRHYhuHLL/RYvi9xce lf6QWvrawMyXx2AkP3xUgp/GPT3O2UfJp0fWZ9fZeAH/A1vo3ZI= =GNOY -----END PGP SIGNATURE----- --nextPart10352225.T7Z3S40VBb--