From 04c02c0bdddd22de9969b74b4ef33bb1a2d9ddc94ea640094b02be11d8e2d7c5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 16 Feb 2023 23:10:55 +0000 Subject: [PATCH] - restore testing against scipy/numpy on tumbleweed, all versions exist there again OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudpickle?expand=0&rev=45 --- python-cloudpickle.changes | 6 ++++++ python-cloudpickle.spec | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-cloudpickle.changes b/python-cloudpickle.changes index 4c0b002..4702fce 100644 --- a/python-cloudpickle.changes +++ b/python-cloudpickle.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 16 23:10:38 UTC 2023 - Dirk Müller + +- restore testing against scipy/numpy on tumbleweed, all + versions exist there again + ------------------------------------------------------------------- Mon Dec 5 12:19:25 UTC 2022 - Daniel Garcia diff --git a/python-cloudpickle.spec b/python-cloudpickle.spec index 8ec9c53..0bc6481 100644 --- a/python-cloudpickle.spec +++ b/python-cloudpickle.spec @@ -1,7 +1,7 @@ # # spec file for package python-cloudpickle # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,9 +36,10 @@ BuildRequires: %{python_module psutil} BuildRequires: %{python_module pytest} BuildRequires: %{python_module py} BuildRequires: %{python_module tornado} -# only test these for the primary interpreter, as packages for older pythons are dropped in TW -BuildRequires: python3-scipy -BuildRequires: python3-numpy >= 1.18.5 +%if 0%{?suse_version} >= 1550 +BuildRequires: %{python_module numpy >= 1.18.5} +BuildRequires: %{python_module scipy} +%endif # /SECTION %python_subpackages