mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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
This commit is contained in:
parent
64affa314f
commit
bbd7bf2771
1 changed files with 15 additions and 9 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue