From e007d931d60363f6ccdf03280f2ca4967414ec2f6a0f7c80f857b93dc9d37771 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 13 Jun 2023 20:45:15 +0000 Subject: [PATCH] - 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 --- python-jupyter-ydoc.changes | 6 ++++++ python-jupyter-ydoc.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-jupyter-ydoc.changes b/python-jupyter-ydoc.changes index 76e39a6..48c2098 100644 --- a/python-jupyter-ydoc.changes +++ b/python-jupyter-ydoc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 13 20:44:17 UTC 2023 - Ben Greiner + +- Kill nodejs in between pytest runs + gh#jupyter-server/jupyter_ydoc#168 + ------------------------------------------------------------------- Sun Jun 11 21:02:51 UTC 2023 - Ben Greiner diff --git a/python-jupyter-ydoc.spec b/python-jupyter-ydoc.spec index 89b9910..9bbcbca 100644 --- a/python-jupyter-ydoc.spec +++ b/python-jupyter-ydoc.spec @@ -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