On Mon, 2022-01-10 at 06:39 +0100, Michał Górny wrote: > > 5. We could have the eclasses convert .egg-info into the newer .dist- > info format. However, I'm not aware of any existing tool doing such > a conversion, and I'm not convinced I want to write one right now, > and whether it wouldn't have compatibility implications. >
Ok, here's a somewhat related idea. Since we're going to have to switch to PEP517 builds anyway at some point, and PEP517 builds use .dist-info rather than .egg-info, how about: 1. we set SETUPTOOLS_USE_DISTUTILS=stdlib for the time being, 2. then we switch to =local in PEP517 mode? i.e. effectively skip the intermediate step of having .egg-info directory in distutils ebuilds, and go straight for .dist-info. In other words: a. existing ebuilds will not be affected, and unmasking setuptools-60+ should not cause any problems, b. we will explicitly switch to the new mode via eclass var and test both potentially breaking changes simultaneously. -- Best regards, Michał Górny
