mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
Don't propagate Qt5/Qt6 and let the user of the package to select which
one is required.
From project's documentation:
When pyqtgraph is first imported, if the environment variable
PYQTGRAPH_QT_LIB is not set, it automatically determines which library
to use by making the following checks:
- If PyQt6 is already imported, use that
- Else, if PySide6 is already imported, use that
- Else, if PyQt5 is already imported, use that
- Else, if PySide2 is already imported, use that
- Else, attempt to import PyQt6, PySide6, PyQt5, PySide2, in that
order.
See: <https://pyqtgraph.readthedocs.io/en/pyqtgraph-0.13.7/getting_started/how_to_use.html#pyqt-and-pyside>.
* gnu/packages/python-science.scm (python-pyqtgraph)[arguments]
<test-flags>: Run unit tests only, skip one more failing test, run in a
single thread.
[inputs]: Remove qtbase-5.
[propagated-inputs]: Remove python-pyqt.
[native-inputs]: Remove python-pytest-cov, python-pytest-xdist, and
python-wheel; add python-pyqt-6 and python-pytest-qt.
Change-Id: Icb272c5215215b96faad8420e1781a5e61ab838d