According to the README at https://github.com/GNOME/gtk-doc gtk-doc supports Python 3. In Fedora, however, it runs on legacy Python (python2).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dnf install gtk-doc
Brings in legacy Python python2.
Installs (requires and runs on) python3.
See gtk-doc in portingdb http://fedora.portingdb.xyz/pkg/gtk-doc/
See our guide about porting packages to Python 3: https://python-rpm-porting.readthedocs.io/
I see that gtk-doc-1.27 is in testing , which includes additional upstream python3 fixes. If no one has time to test getting the Fedora package converted to python3, I'd be happy to pull it together. I just don't want to duplicate work others may already be involved in.
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.
Thanks, should be fixed with https://src.fedoraproject.org/rpms/gtk-doc/c/cd6cd3accaac6766a7c4d85068a1efdec723e691
gtk-doc-1.28-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8e4c99f584
gtk-doc-1.28-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8e4c99f584
gtk-doc-1.28-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.