14
0
forked from pool/python-joblib

Accepting request 781865 from home:pgajdos:python

- version update to 0.14.1
  - Configure the loky workers' environment to mitigate oversubsription with
    nested multi-threaded code in the following case:
    - allow for a suitable number of threads for numba (``NUMBA_NUM_THREADS``);
    - enable Interprocess Communication for scheduler coordination when the
      nested code uses Threading Building Blocks (TBB) (``ENABLE_IPC=1``)
    https://github.com/joblib/joblib/pull/951
  - Fix a regression where the loky backend was not reusing previously
    spawned workers.
    https://github.com/joblib/joblib/pull/968
  - Revert https://github.com/joblib/joblib/pull/847 to avoid using
    `pkg_resources` that introduced a performance regression under Windows:
    https://github.com/joblib/joblib/issues/965
  - Improved the load balancing between workers to avoid stranglers caused by an
    excessively large batch size when the task duration is varying significantly
    (because of the combined use of ``joblib.Parallel`` and ``joblib.Memory``
    with a partially warmed cache for instance).
    https://github.com/joblib/joblib/pull/899
  - Add official support for Python 3.8: fixed protocol number in `Hasher`
    and updated tests.
  - Fix a deadlock when using the dask backend (when scattering large numpy
    arrays).
    https://github.com/joblib/joblib/pull/914
  - Warn users that they should never use `joblib.load` with files from
    untrusted sources. Fix security related API change introduced in numpy
    1.6.3 that would prevent using joblib with recent numpy versions.
    https://github.com/joblib/joblib/pull/879
  - Upgrade to cloudpickle 1.1.1 that add supports for the upcoming
    Python 3.8 release among other things.
    https://github.com/joblib/joblib/pull/878

OBS-URL: https://build.opensuse.org/request/show/781865
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal
2020-03-05 14:02:18 +00:00
committed by Git OBS Bridge
parent d91362b135
commit 518b99432f
5 changed files with 60 additions and 64 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-joblib
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-joblib
Version: 0.13.2
Version: 0.14.1
Release: 0
Summary: Module for using Python functions as pipeline jobs
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/joblib/joblib
Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz
Patch0: numpy16.patch
BuildRequires: %{python_module lz4}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module psutil}
@@ -33,6 +32,7 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-threadpoolctl
Requires: python-lz4
Recommends: python-numpy
Recommends: python-psutil
@@ -54,7 +54,6 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays.
%prep
%setup -q -n joblib-%{version}
%patch0 -p1
%build
%python_build