diff --git a/python-toml.changes b/python-toml.changes index 319a5e1..e7dbcb7 100644 --- a/python-toml.changes +++ b/python-toml.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Feb 14 15:07:09 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-toml.spec b/python-toml.spec index 7414764..602ddbe 100644 --- a/python-toml.spec +++ b/python-toml.spec @@ -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