Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
d0ae394364 | |||
23b8a55042 | |||
dcbe948a20 | |||
ee1a1838db | |||
7ffdbcd515 | |||
8a3e2c8d7e | |||
07578dcf08 | |||
d6133bf553 |
@@ -1,10 +1,10 @@
|
||||
Index: joblib-1.3.2/joblib/test/test_parallel.py
|
||||
Index: joblib-1.5.1/joblib/test/test_parallel.py
|
||||
===================================================================
|
||||
--- joblib-1.3.2.orig/joblib/test/test_parallel.py
|
||||
+++ joblib-1.3.2/joblib/test/test_parallel.py
|
||||
@@ -193,6 +193,11 @@ def test_main_thread_renamed_no_warning(
|
||||
# warninfo catches Warnings from worker timeouts. We remove it if it exists
|
||||
warninfo = [w for w in warninfo if "worker timeout" not in str(w.message)]
|
||||
--- 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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e
|
||||
size 2116621
|
BIN
joblib-1.5.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
joblib-1.5.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 12:27:18 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Skip tests failing with Python 3.13.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 20 11:06:38 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 17 10:59:17 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Add upstream loky_resource_tracker.patch to fix failure with
|
||||
recent CPython 3.12 and 3.13 bugfix releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 18 16:23:55 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Add numpy22.patch to fix doctests with numpy 2.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 9 08:36:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-joblib
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -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
|
||||
@@ -32,6 +32,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}
|
||||
@@ -86,30 +87,27 @@ export LANG=en_US.UTF-8
|
||||
# test_child_raises_parent_exits_cleanly
|
||||
# i586:
|
||||
# test_nested_loop_error_in_grandchild_resource_tracker_silent
|
||||
# s390x:
|
||||
# test_hash_numpy_noncontiguous
|
||||
# test_hashes_are_different_between_c_and_fortran_contiguous_arrays
|
||||
# test_hashes_stay_the_same_with_numpy_objects
|
||||
# test_non_contiguous_array_pickling
|
||||
#
|
||||
# always fails:
|
||||
# test_parallel_call_cached_function_defined_in_jupyter
|
||||
DISABLED_TESTS="test_hash_numpy_noncontiguous or \
|
||||
test_hashes_are_different_between_c_and_fortran_contiguous_arrays or \
|
||||
test_hashes_stay_the_same_with_numpy_objects or \
|
||||
test_non_contiguous_array_pickling or \
|
||||
test_multithreaded_parallel_termination_resource_tracker_silent or \
|
||||
DISABLED_TESTS="test_multithreaded_parallel_termination_resource_tracker_silent or \
|
||||
test_resource_tracker_silent_when_reference_cycles or \
|
||||
test_child_raises_parent_exits_cleanly or \
|
||||
test_nested_loop_error_in_grandchild_resource_tracker_silent or \
|
||||
test_parallel_call_cached_function_defined_in_jupyter"
|
||||
if [ $(python3 -c 'import sys; print(sys.byteorder)') != "little" ]; then
|
||||
DISABLED_TESTS+=" or test_joblib_pickle_across_python_versions or \
|
||||
test_hash_numpy_noncontiguous or \
|
||||
test_hashes_are_different_between_c_and_fortran_contiguous_arrays or \
|
||||
test_hashes_stay_the_same_with_numpy_objects or \
|
||||
test_non_contiguous_array_pickling or \
|
||||
test_parallel_call_cached_function_defined_in_jupyter"
|
||||
if [ $(python3 -c 'import sys; print(sys.byteorder)') != "little" ]; then
|
||||
DISABLED_TESTS+=" or test_joblib_pickle_across_python_versions"
|
||||
test_non_contiguous_array_pickling"
|
||||
fi
|
||||
# memmaping tests fail on Python 3.13.7 https://github.com/joblib/loky/issues/459
|
||||
DISABLED_TESTS+=" or test_permission_error_windows_memmap_sent_to_parent or \
|
||||
test_many_parallel_calls_on_same_object or \
|
||||
test_memmapping_pool_for_large_arrays or \
|
||||
test_memmapping_on_large_enough_dev_shm or \
|
||||
test_memmapping_leaks"
|
||||
%pytest -k "not ($DISABLED_TESTS)"
|
||||
|
||||
%files %{python_files}
|
||||
|
Reference in New Issue
Block a user