Accepting request 958022 from devel:languages:python:jupyter
- Skip more failing tests due to new Exception message format OBS-URL: https://build.opensuse.org/request/show/958022 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nbclient?expand=0&rev=18
This commit is contained in:
commit
ff25b39146
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 28 10:17:42 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Skip more failing tests due to new Exception message format
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 17 16:33:39 UTC 2022 - Arun Persaud <arun@gmx.de>
|
Thu Feb 17 16:33:39 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -60,6 +60,7 @@ BuildRequires: %{python_module ipython}
|
|||||||
BuildRequires: %{python_module ipywidgets < 8}
|
BuildRequires: %{python_module ipywidgets < 8}
|
||||||
BuildRequires: %{python_module nbclient = %{version}}
|
BuildRequires: %{python_module nbclient = %{version}}
|
||||||
BuildRequires: %{python_module pytest >= 4.1}
|
BuildRequires: %{python_module pytest >= 4.1}
|
||||||
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module xmltodict}
|
BuildRequires: %{python_module xmltodict}
|
||||||
%endif
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -89,9 +90,9 @@ export IPYKERNEL_CELL_NAME="<IPY-INPUT>"
|
|||||||
# tests on parallel notebooks randomly fail (4 tests) - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953
|
# tests on parallel notebooks randomly fail (4 tests) - https://github.com/jupyter/nbclient/pull/74#issuecomment-635929953
|
||||||
donttest="parallel_notebooks"
|
donttest="parallel_notebooks"
|
||||||
# https://github.com/jupyter/nbclient/issues/189
|
# https://github.com/jupyter/nbclient/issues/189
|
||||||
donttest+=" or (test_run_all_notebooks and Interrupt.ipynb)"
|
donttest+=" or (test_run_all_notebooks and (opts6 or opts8 or opts9))"
|
||||||
# extra -v for more verbose error diffs
|
# extra -v for more verbose error diffs
|
||||||
%pytest -v -k "not ($donttest)"
|
%pytest -v -k "not ($donttest)" --asyncio-mode=auto
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! %{with test}
|
%if ! %{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user