[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52696] [PATCH 09/12] gnu: python-qtconsole: Enable tests.
From: |
Vinicius Monego |
Subject: |
[bug#52696] [PATCH 09/12] gnu: python-qtconsole: Enable tests. |
Date: |
Tue, 21 Dec 2021 04:46:40 +0000 |
* gnu/packages/python-xyz.scm (python-qtconsole)[arguments]: Remove #:tests?.
<#:phases>: Set HOME and skip a failing test in the 'pre-check phase.
[native-inputs]: Add python-flaky.
---
gnu/packages/python-xyz.scm | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 40f7a7c7ad..d421369666 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12228,23 +12228,21 @@ Jupyter kernels such as IJulia and IRKernel.")
(base32 "013qgpsm8jzcz3prhq7sxs36l8f7fgagmn3xa010gfhxf7cfldpj"))))
(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"))))))
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "HOME" "/tmp")
+ ;; FIXME: skip a failing test.
+ (substitute* "qtconsole/tests/test_jupyter_widget.py"
+ (("def test_other_output") "def _test_other_output")))))))
(propagated-inputs
(list python-ipykernel python-ipython-genutils python-jupyter-client
python-jupyter-core python-pygments python-pyqt python-pyzmq
python-qtpy python-traitlets))
(native-inputs
- (list python-pytest))
+ (list python-flaky python-pytest))
(home-page "https://jupyter.org")
(synopsis "Jupyter Qt console")
(description "This package provides a Qt-based console for Jupyter with
--
2.30.2
- [bug#52696] [PATCH 00/12] Update Orange., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 01/12] gnu: python-anyqt: Update to 0.0.13., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 04/12] gnu: python-pytest-pycodestyle: Update to 2.2.0., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 02/12] gnu: python-qasync: Update to 0.22.0., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 03/12] gnu: Add python-pytest-pydocstyle., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 06/12] gnu: python-pynndescent: Update to 0.5.5., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 07/12] gnu: python-opentsne: Update to 0.6.1., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 08/12] gnu: python-qtconsole: Update to 4.7.7., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 05/12] gnu: python-dictdiffer: Update to 0.9.0., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 09/12] gnu: python-qtconsole: Enable tests.,
Vinicius Monego <=
- [bug#52696] [PATCH 10/12] gnu: python-orange-canvas-core: Update to 0.1.24., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 11/12] gnu: python-orange-widget-base: Update to 4.16.1., Vinicius Monego, 2021/12/20
- [bug#52696] [PATCH 12/12] gnu: orange: Update to 3.31.0., Vinicius Monego, 2021/12/20