1
0

Accepting request 1092986 from devel:languages:python:jupyter

- Kill nodejs in between pytest runs
  gh#jupyter-server/jupyter_ydoc#168

OBS-URL: https://build.opensuse.org/request/show/1092986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-06-14 14:29:49 +00:00 committed by Git OBS Bridge
commit 8a92088ecb
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 13 20:44:17 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Kill nodejs in between pytest runs
gh#jupyter-server/jupyter_ydoc#168
-------------------------------------------------------------------
Sun Jun 11 21:02:51 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -47,6 +47,7 @@ BuildRequires: %{python_module websockets >= 10.0}
BuildRequires: %{python_module y-py >= 0.6.0 with %python-y-py < 0.7.0}
BuildRequires: %{python_module ypy-websocket >= 0.8.3 with %python-ypy-websocket < 0.9}
BuildRequires: nodejs
BuildRequires: procps
BuildRequires: yarn
# /SECTION
%python_subpackages
@ -69,8 +70,8 @@ Built-in documents include:
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# tests NEED -vv
%pytest -vv
# https://github.com/jupyter-server/jupyter_ydoc/issues/168
%pytest -v && pkill -f yjs_client_0.js -e
%files %{python_files}
%{python_sitelib}/jupyter_ydoc