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 this is a problem only if the same upstream
> > version is being reinstalled.
> > 
> > You can easily reproduce the problem by playing with:
> > 
> >   SETUPTOOLS_USE_DISTUTILS=stdlib
> >   SETUPTOOLS_USE_DISTUTILS=local  # 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. 
> > 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...)
> 

I'm afraid upstream is likely to drop support for stdlib distutils
before we manage to deprecate all the old versions... or even before
3.11 comes out.

-- 
Best regards,
Michał Górny


Reply via email to