- Kill nodejs in between pytest runs

gh#jupyter-server/jupyter_ydoc#168

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=11
This commit is contained in:
Benjamin Greiner 2023-06-13 20:45:15 +00:00 committed by Git OBS Bridge
parent 83d7053213
commit e007d931d6
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