This bug should be fixed in Wireshark 3.2 and later as described at https://gitlab.com/wireshark/wireshark/-/issues/15865.
- Bug#931553: wireshark-dev idl2wrs now supports Python3 Gerald Combs
- Bug#931553: wireshark-dev idl2wrs now supports Python3 Balint Reczey