1
0

- 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:
2022-05-25 23:19:29 +00:00
committed by Git OBS Bridge
parent 3de76d559f
commit cc5f779db2
3 changed files with 23 additions and 3 deletions

View File

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