From 1460eb66c1750885e8bb83b340a66a04d04e6b344c47729f08d80aa1d821508a Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 24 Dec 2023 14:36:38 +0000 Subject: [PATCH] go OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pytest-jupyter?expand=0&rev=11 --- python-pytest-jupyter.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-pytest-jupyter.spec b/python-pytest-jupyter.spec index 31cbe14..575af08 100644 --- a/python-pytest-jupyter.spec +++ b/python-pytest-jupyter.spec @@ -82,7 +82,10 @@ This subpackage provides the [server] extra dependencies %prep %setup -q -n pytest_jupyter-%{version} -sed -i 's/ "--color=yes",//' pyproject.toml +sed -e 's/ "--color=yes",//' -i pyproject.toml +%if %{with ringdisabled} +sed -e "/jupyter_server/d" -i tests/conftest.py +%endif %if !%{with test} %build @@ -96,7 +99,7 @@ sed -i 's/ "--color=yes",//' pyproject.toml %if %{with test} %check mv pytest_jupyter pytest_jupyter.moved -%pytest +%pytest %{?_with_ringdisabled:--ignore tests/test_jupyter_server.py} %endif %if !%{with test}