python-distributed/python-distributed.spec
Tomáš Chvátal 9d3d5c37cc Accepting request 819716 from home:mcalabkova:branches:devel:languages:python:numeric
- update to 2.20.0
  * Link issue on using ``async`` with ``executor_submit`` (:pr:`3939`) `jakirkham`_
  * Make dashboard server listens on all IPs by default even when interface is set explicitly (:pr:`3941`) `Loïc Estève`_
  * Update logic for worker removal in check ttl (:pr:`3927`) `Benjamin Zaitlen`_
  * Close a created cluster quietly (:pr:`3935`) `Matthew Rocklin`_
  * Ensure ``Worker.run*`` handles ``kwargs`` correctly (:pr:`3937`) `jakirkham`_
  * Restore ``Scheduler.time_started`` for Dask Gateway (:pr:`3934`) `Tom Augspurger`_
  * Fix exception handling in ``_wait_until_connected`` (:pr:`3912`) `Alexander Clausen`_
  * Make local directory if it does not exist (:pr:`3928`) `Matthew Rocklin`_
  * Install vanilla status route if bokeh dependency is not satisfied (:pr:`3844`) `joshreback`_
  * Make ``Worker.delete_data`` sync (:pr:`3922`) `Peter Andreas Entschev`_
  * Fix ``ensure_bytes`` import location (:pr:`3919`) `jakirkham`_
  * Fix race condition in repeated calls to ``cluster.adapt()`` (:pr:`3915`) `Jacob Tomlinson`_
  2.19.0
  * Notify worker plugins when a task is released (:pr:`3817`) `Nick Evans`_
  * Update heartbeat checks in scheduler (:pr:`3896`) `Benjamin Zaitlen`_
  * Make encryption default if ``Security`` is given arguments (:pr:`3887`) `Matthew Rocklin`_
  * Show ``cpu_fraction`` on hover for dashboard workers circle plot. (:pr:`3906`) `Loïc Estève`_
  * Prune virtual client on variable deletion (:pr:`3910`) `Marco Neumann`_
  * Fix total aggregated metrics in dashboard (:pr:`3897`) `Loïc Estève`_
  * Support Bokeh 2.1 (:pr:`3904`) `Matthew Rocklin`_
  * Update ``related-work.rst`` (:pr:`3889`) `DomHudson`_
  * Skip ``test_pid_file`` in older versions of Python (:pr:`3888`) `Matthew Rocklin`_
  * Replace ``stream=`` with ``comm=`` in handlers (:pr:`3860`) `Julien Jerphanion`_
  * Check hosts for ``None`` value in SSH cluster. (:pr:`3883`) `Matthias Bussonnier`_
  * Allow dictionaries in ``security=`` keywords (:pr:`3874`) `Matthew Rocklin`_
  * Use pickle protocol 5 with NumPy object arrays (:pr:`3871`) `jakirkham`_
  * Cast any ``frame`` to ``uint8`` (same type as ``bytes``) (:pr:`3870`) `jakirkham`_
  * Use ``Enum`` for worker, scheduler and nanny status. (:pr:`3853`) `Matthias Bussonnier`_
  * Drop legacy ``buffer_interface`` assignment (:pr:`3869`) `jakirkham`_

OBS-URL: https://build.opensuse.org/request/show/819716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-distributed?expand=0&rev=59
2020-07-09 13:09:31 +00:00

101 lines
3.2 KiB
RPMSpec

#
# spec file for package python-distributed
#
# Copyright (c) 2020 SUSE LLC
#
# 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/
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Test requires network connection
%bcond_with test
Name: python-distributed
Version: 2.20.0
Release: 0
Summary: Library for distributed computing with Python
License: BSD-3-Clause
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
Requires: python-PyYAML
Requires: python-certifi
Requires: python-click >= 6.6
Requires: python-cloudpickle >= 1.3.0
Requires: python-contextvars
Requires: python-dask >= 2.7.0
Requires: python-joblib >= 0.10.2
Requires: python-msgpack
Requires: python-psutil >= 5.0
Requires: python-scikit-learn >= 0.17.1
Requires: python-sortedcontainers
Requires: python-tblib
Requires: python-toolz >= 0.7.4
Requires: python-tornado >= 5
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 >= 1.3.0}
BuildRequires: %{python_module dask >= 0.18.0}
BuildRequires: %{python_module msgpack}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
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}
%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
%pytest distributed/tests/
%endif
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{_bindir}/dask-ssh
%{_bindir}/dask-scheduler
%{_bindir}/dask-worker
%{python_sitelib}/distributed*
%changelog