This file in nanopb, included "in case you want to run it with Python 2", has a python2 shebang that makes RPM automatically generate a requirement on /usr/bin/python2: /usr/lib/python3.12/site-packages/nanopb/generator/nanopb_generator.py2 Please either - remove the file (and anything that needs it, like protoc-gen-nanopb-py2s) or - filter out the automatic dependency like this: %global __requires_exclude ^/usr/bin/python2$ (see https://docs.fedoraproject.org/en-US/packaging-guidelines/AutoProvidesAndRequiresFiltering/#_filtering_provides_and_requires_after_scanning . I haven't tested the suggestion.) Thanks!
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
Felix, have you had a chance to have a look at this?
I did this in https://src.fedoraproject.org/rpms/nanopb/c/c12864951b7c6bec1d25be49418df65e62fff324?branch=rawhide