1
0

Accepting request 866118 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/866118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cloudpickle?expand=0&rev=15
This commit is contained in:
Dominique Leuenberger 2021-01-26 13:44:32 +00:00 committed by Git OBS Bridge
commit 8c05e1e72a
2 changed files with 20 additions and 20 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jan 22 16:19:43 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Update BuildRequirements for tests: scipy and numpy are only
available for python >= 3.7 soon.
- Apply upstream's deprecation of Python 2: Already failing due to
syntax errors.
-------------------------------------------------------------------
Wed Dec 9 14:43:55 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-cloudpickle
#
# 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
@ -16,8 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-cloudpickle
Version: 1.6.0
Release: 0
@ -25,27 +25,19 @@ Summary: Extended pickling support for Python objects
License: BSD-3-Clause
URL: https://github.com/cloudpipe/cloudpickle
Source: https://files.pythonhosted.org/packages/source/c/cloudpickle/cloudpickle-%{version}.tar.gz
BuildRequires: %{python_module curses}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module numpy >= 1.8.5}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tornado}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-curses
Requires: python-numpy >= 1.8.5
Requires: python-scipy
Requires: python-tornado
BuildArch: noarch
%if %{with python2}
BuildRequires: python-futures
%endif
%ifpython2
Requires: python-futures
%endif
# SECTION test requirements. None of these are hard dependencies
BuildRequires: %{python_module curses}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
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
# /SECTION
%python_subpackages
%description