The current python-rpm-generators will break with Python 3.10. The regex here requires and extra + after the second \d: # Try to parse the Python version from the path the metadata # resides at (e.g. /usr/lib/pythonX.Y/site-packages/...) import re res = re.search(r"/python(?P<pyver>\d+\.\d)/", path_item)
I think this is already being handled as part of this: https://github.com/rpm-software-management/rpm/pull/951
Yes, there is one commit for that in it!
https://src.fedoraproject.org/rpms/python-rpm-generators/pull-request/4
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.