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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92f865e621e17784e7955080b6d042489e3b8e294949cc44c6eac304f59772b1
size 1987720

3
joblib-1.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1eb0dc091919cd384490de890cb5dfd538410a6d4b3b54eef09fb8c50b409b1c
size 2115863

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sat Apr 20 21:06:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 28 03:55:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Tue Nov 28 03:55:52 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-joblib # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,12 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-joblib Name: python-joblib
Version: 1.3.2 Version: 1.4.0
Release: 0 Release: 0
Summary: Module for using Python functions as pipeline jobs Summary: Module for using Python functions as pipeline jobs
License: BSD-3-Clause License: BSD-3-Clause
URL: https://github.com/joblib/joblib URL: https://github.com/joblib/joblib
Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz 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 # PATCH-FIX-OPENSUSE Also avoid a DeprecationWarning when using fork() under
# multiprocessing # multiprocessing
Patch1: also-filter-new-fork-warning.patch Patch1: also-filter-new-fork-warning.patch