On Fri, 2024-09-06 at 08:11 +1200, Andrew Bartlett wrote: > On Thu, 2024-09-05 at 16:58 +0200, stefa...@debian.org wrote: > > Source: samba > > Version: 2:4.21.0+dfsg-1 > > Severity: important > > User: debian-python@lists.debian.org > > Usertags: dh-python-no-setuptools > > Tags: sid, trixie > > > > This package failed build from source when test-built against a version of > > dh-python without a python3-setuptools dependency. > > > > distutils is no longer part of the Python standard library, since 3.12. But > > a > > minimal version of it becomes available when the python3-setuptools package > > is > > installed. > > This is disappointing. I as an upstream developer outside the python > community had hoped that python had learnt to stop breaking the > language. > > Could this be added as a dep on the python package side of things, to > at least undo the damage for Debian users? > > It may be the case that this was already done on Fedora, as that was > being used as a canary for these changes and we haven't had any such > feedback from them.
It looks like it might be Debian that is playing canary this time. Anyway, I've raise my concerns with them at https://github.com/python/cpython/issues/85454 > > Please add a Build-Depends on python3-setuptools to your package, or migrate > > the package's build system away from setuptools/distutils. > > > > If you run into any difficulties, please raise them on > > debian-python@lists.debian.org. > > > This bug has been filed at "important" severity, as the change hasn't been > > made in dh-python yet, but this may be raised to RC before the trixie > > release. > > > > Thanks, > > > > Stefano > > > -- Andrew Bartlett (he/him) https://samba.org/~abartlet/ Samba Team Member (since 2001) https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba