python-distributed/python-distributed.spec
Todd R 8e5438d483 Accepting request 660731 from home:TheBlackCat:branches:devel:languages:python:numeric
- Update to version 1.25.1
  * Serialize numpy.ma.masked objects properly (:pr:`2384`) `Jim Crist`_
  * Turn off bokeh property validation in dashboard (:pr:`2387`) `Jim Crist`_
  * Fully initialize WorkerState objects (:pr:`2388`) `Jim Crist`_
  * Fix typo in scheduler docstring (:pr:`2393`) `Russ Bubley`_
  * DOC: fix typo in distributed.worker.Worker docstring (:pr:`2395`) `Loïc Estève`_
  * Remove clients and workers from event log after removal (:pr:`2394`) `tjb900`_
  * Support msgpack 0.6.0 by providing length keywords (:pr:`2399`) `tjb900`_
  * Use async-await on large messages test (:pr:`2404`) `Matthew Rocklin`_
  * Fix race condition in normalize_collection (:pr:`2386`) `Jim Crist`_
  * Fix redict collection after HighLevelGraph fix upstream (:pr:`2413`) `Matthew Rocklin`_
  * Add a blocking argument to Lock.acquire(`) (:pr:`2412`) `Stephan Hoyer`_
  * Fix long traceback test (:pr:`2417`) `Matthew Rocklin`_
  * Update x509 certificates to current OpenSSL standards. (:pr:`2418`) `Diane Trout`_

OBS-URL: https://build.opensuse.org/request/show/660731
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-distributed?expand=0&rev=19
2018-12-22 20:13:37 +00:00

111 lines
3.7 KiB
RPMSpec

#
# spec file for package python-distributed
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Test requires network connection
%bcond_with test
Name: python-distributed
Version: 1.25.1
Release: 0
Summary: Library for distributed computing with Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://distributed.readthedocs.io/en/latest/
Source: https://files.pythonhosted.org/packages/source/d/distributed/distributed-%{version}.tar.gz
Source99: python-distributed-rpmlintrc
BuildRequires: %{python_module joblib >= 0.10.2}
BuildRequires: %{python_module scikit-learn >= 0.17.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python2-futures
Requires: python-PyYAML
Requires: python-certifi
Requires: python-click >= 6.6
Requires: python-cloudpickle >= 0.2.2
Requires: python-dask >= 0.18.0
Requires: python-joblib >= 0.10.2
Requires: python-msgpack
Requires: python-psutil
Requires: python-scikit-learn >= 0.17.1
Requires: python-six
Requires: python-sortedcontainers
Requires: python-tblib
Requires: python-toolz >= 0.7.4
Requires: python-tornado >= 4.5.1
Requires: python-zict >= 0.1.3
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module click >= 6.6}
BuildRequires: %{python_module cloudpickle >= 0.2.2}
BuildRequires: %{python_module dask >= 0.18.0}
BuildRequires: %{python_module msgpack}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module sortedcontainers}
BuildRequires: %{python_module tblib}
BuildRequires: %{python_module toolz >= 0.7.4}
BuildRequires: %{python_module tornado >= 4.5.1}
BuildRequires: %{python_module zict >= 0.1.3}
BuildRequires: python2-mock
%endif
%ifpython2
Requires: python-futures
Requires: python-singledispatch
%endif
%python_subpackages
%description
Dask.distributed is a library for distributed computing in Python. It
extends both the concurrent.futures and dask APIs to moderate sized
clusters.
%prep
%setup -q -n distributed-%{version}
%build
%python_build
%install
%python_install
%{python_expand rm -rf %{buildroot}%{$python_sitelib}/distributed/tests/
# Deduplicating files can generate a RPMLINT warning for pyc mtime
%fdupes %{buildroot}%{$python_sitelib}
}
%if %{with test}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} distributed/tests/
%endif
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%python3_only %{_bindir}/dask-ssh
%python3_only %{_bindir}/dask-submit
%python3_only %{_bindir}/dask-remote
%python3_only %{_bindir}/dask-scheduler
%python3_only %{_bindir}/dask-worker
%python3_only %{_bindir}/dask-mpi
%{python_sitelib}/distributed*
%changelog