Thanks for the followup information.

For reference, one of the packages I maintain, electrum, only uses one command 
from 
distutils, which compares version numbers to determine if there is a new 
upstream release.  
Upstream decided to simply incorporate that distutils file with that one 
command into their 
own codebase and maintain it themselves going forward.  The code itself needs 
little 
modifications over time, so it shouldn’t be too difficult for them to maintain 
it.

The other packages I work on that use distutils are qtwebengine-opensource-src 
and qt6-
webengine.  qtwebengine-opensource-src is version 5 of Qt WebEngine.  Qt 
WebEngine is a 
highly-modified fork of Chromium.  Chromium contains distutils, which I believe 
it is only 
used as part of the developer tools that inspects web pages.  They are actively 
working on 
removing the dependency on distutils.

https://issues.chromium.org/issues/40283283[1]

Once Chromium has removed distutils, this will eventually filter down to a 
future qt6-
webengine release.  qtwebengine-opensource-src is EOL, and is unlikely to 
receive an 
upstream change that removes distutils, but once Debian transitions to KDE 6 as 
the 
default, qtwebengine-opensource-src probably won’t be an issue anymore.

On Saturday, June 29, 2024 11:29:06 AM MST Scott Kitterman wrote:
> On Saturday, June 29, 2024 1:36:41 PM EDT Soren Stoutner wrote:
> > Scott,
> > 
> > On Saturday, June 29, 2024 8:58:09 AM MST Scott Kitterman wrote:
> > > I would say no.  Distutils is going to be with us for quite some time,
> > > even
> > > though it's no longer part of the standard distribution.
> > > 
> > > Scott K
> > 
> > Can you please elaborate on this some more?  As a maintainer of a couple of
> > packages that use distutils in some fashion I would appreciate understanding
> > the detail of what is happening with distutils in Debian.
> 
> I can't say for sure.  I am assuming we will keep it in Debian in the short
> term independent of the Python interpreter packages, since removing it would
> break so many other packages.
> 
> According to codesearch.d.n over 600 packages reference disutils in their
> code.  That doesn't mean that they all use it, but it's a lot of packages.
> 
> I think it's smart to work with upstreams to migrate away from it ASAP, since
> it isn't going to stick around forever, but I don't know the timeline.
> 
> Of course, if no one volunteers to do the work to seperate it out of python3-
> stdlib-extensions, then it might come up pretty soon.  Is anyone planning on
> working on this (I confess I thought someone already had).
> 
> Scott K


-- 
Soren Stoutner
so...@debian.org

--------
[1] https://issues.chromium.org/issues/40283283

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to