From 6b35c95977e355e73b395fea77f0bf66b87a2bbf26dd3316e7a6f03b92b1c1aa Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 5 Jun 2022 17:14:41 +0000 Subject: [PATCH] Accepting request 980914 from home:bnavigator:branches:devel:languages:python:jupyter - Fix test requirements OBS-URL: https://build.opensuse.org/request/show/980914 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbclient?expand=0&rev=42 --- python-nbclient.changes | 5 +++++ python-nbclient.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-nbclient.changes b/python-nbclient.changes index aea563b..ff44d48 100644 --- a/python-nbclient.changes +++ b/python-nbclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 5 16:49:53 UTC 2022 - Ben Greiner + +- Fix test requirements + ------------------------------------------------------------------- Sat Jun 4 23:14:53 UTC 2022 - Arun Persaud diff --git a/python-nbclient.spec b/python-nbclient.spec index d542fe7..dd8546d 100644 --- a/python-nbclient.spec +++ b/python-nbclient.spec @@ -29,8 +29,7 @@ %else %bcond_with libalternatives %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 + Name: python-nbclient%{psuffix} Version: 0.6.4 Release: 0 @@ -56,12 +55,12 @@ Requires(postun):update-alternatives %endif %if %{with test} BuildRequires: %{python_module ipykernel} -BuildRequires: %{python_module ipython < 8} -BuildRequires: %{python_module ipywidgets < 8} +BuildRequires: %{python_module ipython} +BuildRequires: %{python_module ipywidgets} BuildRequires: %{python_module nbclient = %{version}} BuildRequires: %{python_module pytest >= 4.1} BuildRequires: %{python_module pytest-asyncio} -BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module testpath} BuildRequires: %{python_module xmltodict} %endif %python_subpackages