[Fedora-packaging] Python 3 compatibility update to Python guidelines