dev-python/QtPy: defaults to +sql and pulls dev-python/PyQt5[sql] but that is not the default for the second package. I hit this conflict on my main machine: emerge: there are no ebuilds built with USE flags to satisfy "dev-python/PyQt5[positioning?,printsupport?,serialport ?,sql?,svg?]". !!! One of the following packages is required to complete your request: - dev-python/PyQt5-5.15.6::gentoo (Change USE: +sql) - dev-python/QtPy-2.2.1::gentoo (Change USE: -sql) Looks like the relation between dev-python/PyQt5 and dev-python/QtPy was overlooked. Proposed change: diff --git a/dev-python/QtPy/QtPy-2.2.1.ebuild b/dev-python/QtPy/QtPy-2.2.1.ebuild index 3f913ef7b67..77b95613050 100644 --- a/dev-python/QtPy/QtPy-2.2.1.ebuild +++ b/dev-python/QtPy/QtPy-2.2.1.ebuild @@ -21,7 +21,7 @@ KEYWORDS="amd64 ~riscv" _IUSE_QT_MODULES=" designer +gui help multimedia +network opengl positioning - printsupport qml quick serialport +sql svg testlib + printsupport qml quick serialport sql svg testlib webchannel webengine websockets +widgets +xml " IUSE="+pyqt5 pyqt6 pyside2 pyside6 ${_IUSE_QT_MODULES}"
fwiw, unlike PyQt5, sql is default on PyQt6 so that works just fine there although it's partly because of the qtbase:6 layout (not split, and sql is enabled by default -- so it makes little sense to be disabled on PyQt6 beside for bit faster build time)
I'm trying to keep the defaults syncronized between pyside, pyqt, and qtpy. For qt5 there unfortunately already is a discrepency between pyqt5 and pyside2. So i kept the defaults of pyqt6/pyside6 for the newer versions of qtpy.
Maybe PyQt5 should have a few more defaults instead, it's nearly worthless with everything disabled and almost always have to enable something manually (not that I use qt5 anymore so haven't been bothering me). Tend to think most stuff that comes from qtbase (dbus, gui, network, opengl, printsupport, sql, widgets, xml) should be enabled given don't get far without base modules, but guess it's debatable.. these bindings can take a while to build too (I'd generally want default qml/declarative too but well, list is getting long).
(In reply to Ionen Wolkens from comment #3) > (dbus, gui, network, opengl, printsupport, sql, widgets, xml) Well, guess opengl can be left to profiles (noticed qtbase:6 has it non-default). qt without gui is generally pretty weird regardless of profiles though
(In reply to Ionen Wolkens from comment #3) > Maybe PyQt5 should have a few more defaults instead, it's nearly worthless > with everything disabled and almost always have to enable something manually > (not that I use qt5 anymore so haven't been bothering me). > > Tend to think most stuff that comes from qtbase (dbus, gui, network, opengl, > printsupport, sql, widgets, xml) should be enabled given don't get far > without base modules, but guess it's debatable.. these bindings can take a > while to build too (I'd generally want default qml/declarative too but well, > list is getting long). I think it is a good idea. So maybe for now it would be better to add +sql to dev-python/PyQt5 instead of removing it from dev-python/QtPy.
Looks like this issue is still present in ::gentoo.