Stefano Rivera
unread,Nov 30, 2022, 8:00:03 PM11/30/22You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Package: python3-setuptools
Version: 65.5.0-1
Severity: normal
setuptools 60 uses its own bundled version of distutils, by default. It
injects this into sys.modules, at import time. So we need to make sure
that it is imported, before anything else imports distutils, to ensure
everything is using the same distutils version.
I have filed a number of patches upstream to reorder packages setup.py
imports, to avoid the problem. But today I discovered why we were the
only ones hitting this problem:
We don't ship distutils-precedence.pth which should hook this at
interpreter startup time.
We should ship it. There's an interpreter startup cost to pth files. But
all setuptools users would expect us to have this.
SR