forked from pool/python-jupyter-client
- Add jupyter-client-fix787-kernelwarningsfilter.patch
* gh#jupyter/jupyter_client#787 - Disable pytest for signalkernel.py and problemkernel.py because OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=18
This commit is contained in:
@@ -34,6 +34,8 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/jupyter/jupyter_client
|
||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch0: jupyter-client-fix787-kernelwarningsfilter.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -102,8 +104,7 @@ This package provides the jupyter components.
|
||||
%if %{with test}
|
||||
%check
|
||||
pushd jupyter_client/tests
|
||||
# disable signalkernel.py and problemkernel.py due to newer ipykernel https://github.com/jupyter/jupyter_client/issues/787
|
||||
%pytest --force-flaky --max-runs=3 --no-success-flaky-report --ignore signalkernel.py --ignore problemkernel.py
|
||||
%pytest --force-flaky --max-runs=3 --no-success-flaky-report
|
||||
popd
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user