14
0
forked from pool/python-joblib

- update to 1.4.0:

* Allow caching co-routines with Memory.cache.
  * Try to cast n_jobs to int in parallel and raise an error if
    it fails. This means that n_jobs=2.3 will now result in
    effective_n_jobs=2 instead of failing.
  * Ensure that errors in the task generator given to Parallel's
    call are raised in the results consumming thread.
  * Adjust codebase to NumPy 2.0 by changing np.NaN to np.nan and
    importing byte_bounds from np.lib.array_utils.
  * The parameter return_as in joblib.Parallel can now be set to
    generator_unordered. In this case the results will be
    returned in the order of task completion rather than the
    order of submission.
  * dask backend now supports return_as=generator and
    return_as=generator_unordered.
  * Vendor cloudpickle 3.0.0 and end support for Python 3.7 which
    has reached end of life.
- drop avoid-deprecated-ast.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=62
This commit is contained in:
2024-04-20 21:07:45 +00:00
committed by Git OBS Bridge
parent af5d476398
commit b1784a7666
4 changed files with 27 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-joblib
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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,12 @@
%{?sle15_python_module_pythons}
Name: python-joblib
Version: 1.3.2
Version: 1.4.0
Release: 0
Summary: Module for using Python functions as pipeline jobs
License: BSD-3-Clause
URL: https://github.com/joblib/joblib
Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#joblib/joblib#05caf0772d605799e5d2337018fd32ac829b37aa
Patch0: avoid-deprecated-ast.patch
# PATCH-FIX-OPENSUSE Also avoid a DeprecationWarning when using fork() under
# multiprocessing
Patch1: also-filter-new-fork-warning.patch