- Remove nbformat from the :test flavor. Run locally

`--with localtests` for not skipping the tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipython?expand=0&rev=90
This commit is contained in:
Benjamin Greiner 2022-08-04 10:26:58 +00:00 committed by Git OBS Bridge
parent 1c16678852
commit 200ef37b14
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 4 10:24:27 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Remove nbformat from the :test flavor. Run locally
`--with localtests` for not skipping the tests.
-------------------------------------------------------------------
Sat Jun 4 23:13:12 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -24,13 +24,15 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
# extra tests are skipped automatically, don't require these packages for Ring1
%bcond_with localtest
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
Name: python-ipython%{psuffix}
Version: 8.4.0
Release: 0
@ -83,7 +85,6 @@ BuildArch: noarch
BuildRequires: %{python_module curio}
BuildRequires: %{python_module ipython = %{version}}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module nbformat}
BuildRequires: %{python_module numpy >= 1.19}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pygments}
@ -92,6 +93,9 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testpath}
BuildRequires: %{python_module trio}
%endif
%if %{with localtest}
BuildRequires: %{python_module nbformat}
%endif
%if !%{with test}
BuildRequires: desktop-file-utils
BuildRequires: hicolor-icon-theme