The texlive-pythontex RPM requires both Python 2 and Python 3:
$ dnf repoquery --repo=rawhide --requires texlive-pythontex | grep python
Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error: for
example, a stray "/usr/bin/python" shebang in a Python 3 package can
introduce a Python 2 dependency.
Please split your package, or remove the stray dependencies.
There is a section on shebangs in the Python RPM Porting Guide 
which covers this issue.
It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 28 as well.
If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!
I think this might be one of the "very special circumstances".
pythontex is already split out into python2 and python3 versions, with the main script doing python version detection and launching the appropriate version:
if sys.version_info == 2:
import depythontex2 as depythontex
elif sys.version_info == 3:
import depythontex3 as depythontex
Now, I _could_ split out the python3 files into their own subpackage, but upstream assumes they will both be present, so the net result will be the same.
Let me know how you want me to handle this.
Thanks for the explanation.
If that is how upstream intends it, then please keep the package as it is, we will whitelist it in our sanity checks.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.