gnu: python-qtpy: Remove closure size. * gnu/packages/qt.scm (python-qtpy): [arguments] <test-flags>: Skip one more test. <phases>: Add 'fix-pytest-config. [native-inputs]: Remove python-pyqt, python-pyside-2, python-pyside-6, python-pytest-cov, python-pytest-qt, and python-wheel. Fixes: guix/guix#3776 Change-Id: I029e65e854df4fb4cd71eb0bf3108f719615b769
1 files changed, 15 insertions(+), 9 deletions(-) M gnu/packages/qt.scm
M gnu/packages/qt.scm => gnu/packages/qt.scm +15 -9
@@ 4763,17 4763,23 @@ top of the PyQt bindings for Qt. PyQt-builder is used to build PyQt itself.") "--ignore=qtpy/tests/test_qtwidgets.py" "--ignore=qtpy/tests/test_uic.py" ;; ModuleNotFoundError: No module named 'PyQt5.QtTextToSpeech' "-k" "not test_qttexttospeech"))) "-k" (string-append "not test_qttexttospeech" ;; Fatal Python error: Segmentation fault " and not test_qtsql_members_aliases")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-pytest-config (lambda _ ;; Drop test coverage requirements. (substitute* "pytest.ini" (("--cov-report=term-missing") "") (("--cov-report=xml") ""))))))) ;; XXX: Do not include, even supported: Qt5, PySide2 PySide6, only test ;; agains Qt6 to reduce closure size.. (native-inputs (list python-pyqt python-pyqt-6 python-pyside-2 python-pyside-6 (list python-pyqt-6 python-pytest python-pytest-cov python-pytest-qt python-setuptools python-wheel)) python-setuptools)) (propagated-inputs (list python-packaging)) (home-page "https://github.com/spyder-ide/qtpy")