Accepting request 872180 from home:bnavigator:branches:devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/872180 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toml?expand=0&rev=17
This commit is contained in:
parent
5fd0703d25
commit
050726a943
@ -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>
|
Thu Nov 19 19:41:13 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-toml
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -42,8 +42,9 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module numpy}
|
|
||||||
BuildRequires: %{python_module pytest}
|
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
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user