This package has a packaging problem, which should be described in the notes. Check where the problem is coming from, and work with the maintainer to correct it.
If this is a false positive, file a portingdb bug.
Only postgresql-upgrade and postgresql-contrib depend on both Pythons, but this is intentional as discussed in a Fedora bug.