Hi Stefano and all, On Mon, Apr 14, 2025 at 08:58:52AM -0400, Stefano Rivera wrote: > Sounds like fallout from the recent setuptools update. I see in their > changelog: > https://github.com/pypa/setuptools/blob/main/NEWS.rst#v7600 > > https://github.com/pypa/setuptools/issues/4863 > > Sorry, I didn't do full archive rebuild testing before this upload, just > looked at autopkgtests, and they were fine. > > The solution here is to use dh_python3's explicit shebang rewriting helper > (--shebang=/usr/bin/python3).
What do you think about patching setuptools to generate #!python3 instead of #!python? This should make dh_python3 do the right thing, and should not cause much difference on systems other than Debian. Or just revert the whole commit [1] for Trixie, so we can deal with breakage next cycle when we have more time for that. [1]: https://github.com/pypa/distutils/commit/5589d7527044a75f -- Dmitry Shachnev
signature.asc
Description: PGP signature