05.09.2024 23:26, Andrew Bartlett wrote:

Source: samba

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.

I see nothing wrong with changes like this, really.  Things aren't set in
stone, there should be a way for changes to get in.  And we're offered a
trivial workaround - if we don't want to use new things which becomes a
new standard way to do the same in a more modern python.

Could this be added as a dep on the python package side of things, to at least 
undo the damage for Debian users?

Even this one I don't see as a necessary thing to do - this means the old
baggage keeps being installed, which isn't really necessary for any of
the new stuff.  The work-around should work even on older systems with
old, "non-broken", python, - just add a (build) dependency on another
python package and that's it.  Hopefully the work-around actually
works ;)

Thank you!

/mjt

Reply via email to