[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests.
From: |
Vinicius Monego |
Subject: |
[bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests. |
Date: |
Tue, 20 Apr 2021 05:22:32 +0000 |
* gnu/packages/python-xyz.scm (python-qtconsole)[arguments]: Enable tests and
skip a failing test.
[native-inputs]: Add python-flaky.
---
gnu/packages/python-xyz.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 852920db6e..891aa344f1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10741,17 +10741,15 @@ Jupyter kernels such as IJulia and IRKernel.")
"0b91mb655pbn85cnikvhcl40is8w4hni2jjc00p478nj0xba74f0"))))
(build-system python-build-system)
(arguments
- ;; XXX: Tests are disabled, because this package needs python-ipython 7,
- ;; but we only have the LTS version 5.x. This means that there might be
- ;; runtime errors, but since this is a dependency of the Jupyter package,
- ;; and Jupyter can be used without the qtconsole we can overlook this for
- ;; now.
- `(#:tests? #f
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-before 'check 'pre-check
(lambda _
(setenv "QT_QPA_PLATFORM" "offscreen")
+
+ ;; Skip failing test.
+ (substitute* "qtconsole/tests/test_jupyter_widget.py"
+ (("test_other_output") "_test_other_output"))
#t)))))
(propagated-inputs
`(("python-ipykernel" ,python-ipykernel)
@@ -10759,7 +10757,8 @@ Jupyter kernels such as IJulia and IRKernel.")
("python-pyqt" ,python-pyqt)
("python-qtpy" ,python-qtpy)))
(native-inputs
- `(("python-pytest" ,python-pytest)))
+ `(("python-flaky" ,python-flaky)
+ ("python-pytest" ,python-pytest)))
(home-page "https://jupyter.org")
(synopsis "Jupyter Qt console")
(description "This package provides a Qt-based console for Jupyter with
--
2.31.1
- [bug#47906] [PATCH 05/22] gnu: Add python-pyls-spyder., (continued)
- [bug#47906] [PATCH 05/22] gnu: Add python-pyls-spyder., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 06/22] gnu: python-watchdog: Update to 1.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 09/22] gnu: Add python-tinycss., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 12/22] gnu: Add python-pytest-qt., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 13/22] gnu: Add python-qtawesome., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 10/22] gnu: Add python-qstylizer., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests.,
Vinicius Monego <=
- [bug#47906] [PATCH 14/22] gnu: Add python-qtsass., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 16/22] gnu: Add python-easyprocess., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 15/22] gnu: python-qdarkstyle: Update to 3.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 19/22] gnu: Add python-pytest-xvfb., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 17/22] gnu: Add python-entrypoint2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 18/22] gnu: Add python-pyvirtualdisplay., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 21/22] gnu: python-language-server: Relax dependency versions., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 20/22] gnu: python-diff-match-patch: Update to 20200713., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 22/22] gnu: Add spyder., Vinicius Monego, 2021/04/20