Python 2 reached upstream end-of-life in January 2020. In Fedora Rawhide, it's now provided from the compat package `python27`.
Packages that only use Python 2 at build time, like anaconda-realmd, had a general exception to keep using it in Fedora 31. Now, the dependency should be removed.
Switching to Python 3 seemed easy to me (though I don't necessarily
know much about anaconda-realmd). So I opened a pull request:
Could you merge it?
If not, if it's possible that the Python 2 build dependency won't get
removed in Fedora 33, please let us know; the package will need
a FESCo exception.
If you need anything from us, or something is unclear, please mention it here.
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.