git-cola chooses the Qt version at runtime, and defaults to PtQt5 if both are installed, so it makes more sense to require PyQt5 instead of PyQt4. It also selects the web engine (only used for Help->Shortcuts) at runtime between : - QtWebEngine (Qt5 only) - QtWebKit (Qt4/Qt5) - nothing (open in a web browser) For BuildRequires : - python3-PyQt4-devel is not needed - python3-devel doesn't seem to be needed either For Requires : - python3-PyQt4 would be replaced by python3-qt5-base - python3-PyQt4-webkit could be either removed, or replaced by python3-qt5-webkit or python3-qt5-webengine (perhaps it could be a Recommends)
It also has a missing dependency, b/C I have the error when I run git-cola: "No Qt bindings could be found" after clean install F30. I resolved it by installing python3-PyQt5 pkg.
(In reply to Damián Barberón from comment #1) > It also has a missing dependency, b/C I have the error when I run git-cola: > "No Qt bindings could be found" after clean install F30. > > I resolved it by installing python3-PyQt5 pkg. Strange, since the package requires python3-PyQt4, and it's supposed to work with it (if we believe the upstream README.md). Also : > We provide a copy of the qtpy module when installing git-cola so that you are not required to install QtPy separately. > If you'd like to provide your own qtpy module, for example from the python-qtpy Debian package, then use make NO_VENDOR_LIBS=1 ... when invoking make, or export GIT_COLA_NO_VENDOR_LIBS=1 into the build environment. Perhaps git-cola should depend on python3-QtPy (which doesn't pull any implementation, so it would still need python3-qt5-base) instead of using the bundled copy.
I had to install python3-qt5 manually after installing git-cola, because otherwise it closes with the error mentioned above. Fedora 30 clean install, up-to-date.
Please, add python3-qt5 as dependency of git-cola.
*** Bug 1759352 has been marked as a duplicate of this bug. ***
*** Bug 1707039 has been marked as a duplicate of this bug. ***
PR filed to git-cola maintainer: https://src.fedoraproject.org/rpms/git-cola/pull-request/2 Trying to get a scratch build of it.
See also [1]. [1] https://github.com/git-cola/git-cola/issues/971
Similar problem has been detected: Started git-cola after installing reporter: libreport-2.11.3 cmdline: /usr/bin/python3 /usr/bin/git-cola --prompt crash_function: module exception_type: ModuleNotFoundError executable: /usr/bin/git-cola interpreter: python3-3.7.5-1.fc30.x86_64 kernel: 5.4.7-100.fc30.x86_64 package: git-cola-3.4-1.fc30 reason: __init__.py:178:<module>:qtpy.PythonQtError: No Qt bindings could be found runlevel: N 5 type: Python3 uid: 1000
FEDORA-2020-2f205f0830 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2f205f0830
FEDORA-2020-2f205f0830 has been pushed to the Fedora 30 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-2f205f0830` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-2f205f0830 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-2f205f0830 has been pushed to the Fedora 30 stable repository. If problem still persists, please make note of it in this bug report.