14
0
forked from pool/python-joblib

Accepting request 1287196 from home:mcalabkova:branches:devel:languages:python

- Update to 1.5.1
  * Vendor loky3.5.5 fixing the resource_tracker clean up with earlier 
    Python versions
  * Enforce age_limit is a positive timedelta for Memory.reduce_size,
    to avoid silently ignoring it
  * Remove deprecated bytes_limit argument for Memory, which should be
    passed directly to Memory.reduce_size
  * Drop support for Python 3.8
  * Support for Python 3.13 free-threaded has been added
  * Fix a regression in 1.3 and 1.4 that caused large big endian arrays
    to trigger a serialization error
  * Fix support for python 3.14 in hashing, with the addition of an
    extra argument in Pickler._batch_setitems
  * Use pickle protocol 5 for pickling numpy arrays with object type
- Drop merged numpy22.patch and loky_resource_tracker.patch
- BuildRequire python-pytest-asyncio to fix tests with pytest 8.4

OBS-URL: https://build.opensuse.org/request/show/1287196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=71
This commit is contained in:
2025-06-23 05:46:49 +00:00
committed by Git OBS Bridge
parent 8a3e2c8d7e
commit ee1a1838db
7 changed files with 31 additions and 118 deletions

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-joblib
Version: 1.4.2
Version: 1.5.1
Release: 0
Summary: Module for using Python functions as pipeline jobs
License: BSD-3-Clause
@@ -27,15 +27,12 @@ Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%
# PATCH-FIX-OPENSUSE Also avoid a DeprecationWarning when using fork() under
# multiprocessing
Patch1: also-filter-new-fork-warning.patch
# PATCH-FIX-UPSTREAM https://github.com/joblib/joblib/pull/1632 DOC Make doctest compatible with numpy 2.2
Patch2: numpy22.patch
# PATCH-FIX-UPSTREAM https://github.com/joblib/loky/pull/450 FIX remove link to resource_tracker._pid in child processes
Patch3: loky_resource_tracker.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module lz4}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module threadpoolctl}