1
0

Accepting request 620192 from devel:languages:python

- Fix the PyYAML dependency

- specfile:
  * updated dask requirement, added pyyaml

- update to version 1.22.0:
  * Overhaul configuration (GH#1948) Matthew Rocklin
  * Replace get= keyword with scheduler= (GH#1959) Matthew Rocklin
  * Use tuples in msgpack (GH#2000) Matthew Rocklin and Marius van
    Niekerk
  * Unify handling of high-volume connections (GH#1970) Matthew
    Rocklin
  * Automatically scatter large arguments in joblib connector
    (GH#2020) (GH#2030) Olivier Grisel
  * Turn click Python 3 locales failure into a warning (GH#2001)
    Matthew Rocklin
  * Rely on dask implementation of sizeof (GH#2042) Matthew Rocklin
  * Replace deprecated workers.iloc with workers.values() (GH#2013)
    Grant Jenks
  * Introduce serialization families (GH#1912) Matthew Rocklin
  * Add PubSub (GH#1999) Matthew Rocklin
  * Add Dask stylesheet to documentation Matthew Rocklin
  * Avoid recomputation on partially-complete results (GH#1840)
    Matthew Rocklin
  * Use sys.prefix in popen for testing (GH#1954) Matthew Rocklin
  * Include yaml files in manifest Matthew Rocklin
  * Use self.sync so Client.processing works in asynchronous context
    (GH#1962) Henry Doupe
  * Fix bug with bad repr on closed client (GH#1965) Matthew Rocklin
  * Parse –death-timeout keyword in dask-worker (GH#1967) Matthew

OBS-URL: https://build.opensuse.org/request/show/620192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-distributed?expand=0&rev=4
This commit is contained in:
2018-07-02 21:33:47 +00:00
committed by Git OBS Bridge
parent a520ec20f7
commit 17917956ba
4 changed files with 93 additions and 9 deletions

View File

@@ -20,7 +20,7 @@
# Test requires network connection
%bcond_with test
Name: python-distributed
Version: 1.21.8
Version: 1.22.0
Release: 0
Summary: Library for distributed computing with Python
License: BSD-3-Clause
@@ -35,10 +35,11 @@ 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.17.0
Requires: python-dask >= 0.18.0
Requires: python-joblib >= 0.10.2
Requires: python-msgpack
Requires: python-psutil
@@ -51,18 +52,21 @@ 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.17.0}
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
@@ -79,19 +83,18 @@ clusters.
%setup -q -n distributed-%{version}
%build
%python_build
%install
%python_install
%{python_expand chmod a-x %{buildroot}%{$python_sitelib}/distributed/tests/test_utils_test.py
%{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_exec setup.py test
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} distributed/tests/
%endif
%files %{python_files}