Python 2.7 reached end-of-life in January 2020, over 9 years after it was released. The python27 package is now deprecated in Fedora. But, mingw-gtk2 recently started depending on it. (I guess it wasn't building before?) Please remove the dependency on Python 2, or apply for a FESCo exception -- see https://fedoraproject.org/wiki/Changes/RetirePython2#FESCo_exceptions If something is unclear, please mention it here.
Switched to python3.