Hello,
Package python3-pysnmp4 is partially unusable in Debian 12 because its asyncio backend is using @asyncio.coroutine decorator that has been removed from Python 3.11.
It is, imho, quite a serious issue, as any code using PySNMP4 on a machine will stop working after upgrading from Debian 11 to Debian 12 (my case).
I'm not aware of how Debian stable updates work, but I think we should consider making an exception for that.
I prepared a patched package version using backported patch from new upstream (previous maintainer passed away) and had to deal with an upstream bug too. Now it works again and I added all information to the Debian bug report: https://bugs.debian.org/1051774
The fix is quite safe as it impacts only asyncio backend, and current version is not importable at all so I do not see how it could lead to any regression.
What is your opinion about this ? Best regards, Adam.