forked from pool/python-joblib
- 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
23 lines
843 B
Diff
23 lines
843 B
Diff
From 1d9b65db31bfe79c42801d795ea9ebfec1123c44 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= <loic.esteve@ymail.com>
|
|
Date: Mon, 9 Dec 2024 17:16:23 +0100
|
|
Subject: [PATCH] DOC Make doctest compatible with numpy 2.2 (#1632)
|
|
|
|
---
|
|
joblib/__init__.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/joblib/__init__.py b/joblib/__init__.py
|
|
index 54f6c8fb4..e9d4c6870 100644
|
|
--- a/joblib/__init__.py
|
|
+++ b/joblib/__init__.py
|
|
@@ -63,7 +63,7 @@
|
|
>>> square = mem.cache(np.square)
|
|
>>> b = square(a) # doctest: +ELLIPSIS
|
|
______________________________________________________________________...
|
|
- [Memory] Calling square...
|
|
+ [Memory] Calling ...square...
|
|
square(array([[0., 0., 1.],
|
|
[1., 1., 1.],
|
|
[4., 2., 1.]]))
|