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
This commit is contained in:
Benjamin Greiner 2022-06-05 17:14:41 +00:00 committed by Git OBS Bridge
parent d44a9e1a04
commit 6b35c95977
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jun 5 16:49:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Fix test requirements
-------------------------------------------------------------------
Sat Jun 4 23:14:53 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -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