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
17 lines
854 B
Diff
17 lines
854 B
Diff
Index: joblib-1.5.1/joblib/test/test_parallel.py
|
|
===================================================================
|
|
--- joblib-1.5.1.orig/joblib/test/test_parallel.py
|
|
+++ joblib-1.5.1/joblib/test/test_parallel.py
|
|
@@ -249,6 +249,11 @@ def test_main_thread_renamed_no_warning(
|
|
message_part = "multi-threaded, use of fork() may lead to deadlocks"
|
|
warninfo = [w for w in warninfo if message_part not in str(w.message)]
|
|
|
|
+ # There's a new warning in Python 3.12 about multiprocessing and forking
|
|
+ # that we filter out
|
|
+ warninfo = [w for w in warninfo
|
|
+ if "is multi-threaded, use of fork" not in str(w.message)]
|
|
+
|
|
# The multiprocessing backend will raise a warning when detecting that is
|
|
# started from the non-main thread. Let's check that there is no false
|
|
# positive because of the name change.
|