Since Setuptools 58+ upstream removed support for 2to3 during builds. This is breaking change and thus package is FTBFS. For more info see this change: https://fedoraproject.org/wiki/Changes/Setuptools_58%2B
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Fixed with https://src.fedoraproject.org/rpms/python-tempita/c/bfd1f2e5eafa69349e15a8c56daa7b25de47b81d?branch=rawhide https://koji.fedoraproject.org/koji/taskinfo?taskID=82595079