@@ -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