On Sun, 05 Apr 2026 12:46:25 +0100 Theodore Tucker <[email protected]>
wrote:
From what I can tell, this is because of a syntax error in the upstream Python
code in Python 3.13:
https://sources.debian.org/src/python-grpc-tools/1.14.1-8/grpc_tools/command.py.
Looking at line 33, the files method from importlib is shadowed by
the files loop variable from line 27.
My apologies, on further inspection it seems that the bug is actually in
a patch Debian applies:
https://salsa.debian.org/python-team/packages/python-grpc-tools/-/blob/master/debian/patches/replace-pkg_resources-with-importlib-and-packaging.patch
I'm happy to adapt my patch from the BuildStream packaging to
python3-grpc-tools if that would be welcome?
Thanks again and kind regards,
Theodore
--
Theodore Tucker (he/him)
[email protected]