Accepting request 872186 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/872186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-toml?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2021-02-16 21:34:09 +00:00 committed by Git OBS Bridge
commit 73ba089cee
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Feb 14 15:07:09 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Don't test NumPy with python36 flavor (NumPy 1.20 in TW dropped
Python 3.6, NEP 29), tests are automatically skipped if not
installed.
-------------------------------------------------------------------
Thu Nov 19 19:41:13 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-toml
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -42,8 +42,9 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
# python36-numpy is no longer available in Tumbleweed (NEP 29), tests are automatically skipped if not installed
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
%endif
%python_subpackages