Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-13 Thread Michał Górny
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

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-11 Thread Michał Górny
On Tue, 2022-01-11 at 19:23 +0100, Andreas K. Huettel wrote: > > > > 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

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-11 Thread Andreas K. Huettel
> > 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

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Mike Gilbert
On Mon, Jan 10, 2022 at 8:19 PM Mike Gilbert wrote: > > On Mon, Jan 10, 2022 at 9:43 AM Michał Górny wrote: > > > > 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

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Mike Gilbert
On Mon, Jan 10, 2022 at 9:43 AM Michał Górny wrote: > > 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

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Michał Górny
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:

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Francesco Riosa
Il giorno lun 10 gen 2022 alle ore 06:39 Michał Górny ha scritto: [...] > > The big problem is that switching implies changing the format, so if you > install foo-X, then switch, then reinstall the same version of foo, > you're going to have the file replaced by a directory. This is not >

Re: [gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-10 Thread Michał Górny
On Mon, 2022-01-10 at 17:01 +0500, Anna wrote: > On 2022-01-10 06:39, Michał Górny wrote: > > > However, this isn't going to help for dead projects. > > Dead dependencies probably should be reported upstream too. > Unfortunately, upstreams often don't care. As long as it is installable via

[gentoo-dev] Looking for a solution to the distutils/setuptools .egg-info mess

2022-01-09 Thread Michał Górny
Hi, everyone. TL;DR: how to deal with setuptools (and newer distutils vendored by setuptools) replacing .egg-info files with directories? I know I'm reiterating the same topic but I think we're coming to having to actually do something about this and I still haven't found a satisfactory