14
0
forked from pool/python-joblib

11 Commits

Author SHA256 Message Date
6363e39917 Accepting request 1303623 from devel:languages:python
- Update to 1.5.2
  * Vendor ``loky3.5.6`` fixing the resource tracker for python 3.13.7+
    https://github.com/joblib/joblib/pull/1740

OBS-URL: https://build.opensuse.org/request/show/1303623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=31
2025-09-11 12:38:15 +00:00
cca5bc6def unskip tests (most probably) fixed by loky update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=76
2025-09-10 09:55:36 +00:00
4ff9764129 - Update to 1.5.2
* Vendor ``loky3.5.6`` fixing the resource tracker for python 3.13.7+
    https://github.com/joblib/joblib/pull/1740

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=75
2025-09-10 09:09:45 +00:00
45f7876d9f Accepting request 1300700 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1300700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=30
2025-08-21 14:47:15 +00:00
5a5d584bc9 - Skip tests failing with Python 3.13.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=73
2025-08-21 07:23:59 +00:00
8f7a7c6788 Accepting request 1287806 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1287806
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=29
2025-06-24 18:45:53 +00:00
fbb0cf2e2c 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
2025-06-23 05:46:49 +00:00
0a3f1114fc Accepting request 1270281 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1270281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=28
2025-04-18 14:14:57 +00:00
77e153e37b - Add upstream loky_resource_tracker.patch to fix failure with
recent CPython 3.12 and 3.13 bugfix releases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=69
2025-04-17 11:01:28 +00:00
e571b53e38 Accepting request 1254192 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1254192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-joblib?expand=0&rev=27
2025-03-20 18:24:34 +00:00
daa9a6df90 - Add numpy22.patch to fix doctests with numpy 2.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=67
2025-03-18 16:31:19 +00:00
5 changed files with 61 additions and 26 deletions

View File

@@ -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.5.1.orig/joblib/test/test_parallel.py
+++ joblib-1.3.2/joblib/test/test_parallel.py +++ joblib-1.5.1/joblib/test/test_parallel.py
@@ -193,6 +193,11 @@ def test_main_thread_renamed_no_warning( @@ -249,6 +249,11 @@ def test_main_thread_renamed_no_warning(
# warninfo catches Warnings from worker timeouts. We remove it if it exists message_part = "multi-threaded, use of fork() may lead to deadlocks"
warninfo = [w for w in warninfo if "worker timeout" not in str(w.message)] 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 + # There's a new warning in Python 3.12 about multiprocessing and forking
+ # that we filter out + # that we filter out

View File

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

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

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

View File

@@ -1,3 +1,46 @@
-------------------------------------------------------------------
Wed Sep 10 08:42:39 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.5.2
* Vendor ``loky3.5.6`` fixing the resource tracker for python 3.13.7+
https://github.com/joblib/joblib/pull/1740
-------------------------------------------------------------------
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> Thu May 9 08:36:55 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-joblib # 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 # 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,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-joblib Name: python-joblib
Version: 1.4.2 Version: 1.5.2
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
@@ -32,6 +32,7 @@ BuildRequires: %{python_module lz4}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil} BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module threadpoolctl} BuildRequires: %{python_module threadpoolctl}
@@ -86,29 +87,20 @@ export LANG=en_US.UTF-8
# test_child_raises_parent_exits_cleanly # test_child_raises_parent_exits_cleanly
# i586: # i586:
# test_nested_loop_error_in_grandchild_resource_tracker_silent # 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: # always fails:
# test_parallel_call_cached_function_defined_in_jupyter # test_parallel_call_cached_function_defined_in_jupyter
DISABLED_TESTS="test_hash_numpy_noncontiguous or \ DISABLED_TESTS="test_multithreaded_parallel_termination_resource_tracker_silent 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 \
test_resource_tracker_silent_when_reference_cycles or \ test_resource_tracker_silent_when_reference_cycles or \
test_child_raises_parent_exits_cleanly or \ test_child_raises_parent_exits_cleanly or \
test_nested_loop_error_in_grandchild_resource_tracker_silent or \ test_nested_loop_error_in_grandchild_resource_tracker_silent 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" test_parallel_call_cached_function_defined_in_jupyter"
if [ $(python3 -c 'import sys; print(sys.byteorder)') != "little" ]; then if [ $(python3 -c 'import sys; print(sys.byteorder)') != "little" ]; then
DISABLED_TESTS+=" or test_joblib_pickle_across_python_versions" 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"
fi fi
%pytest -k "not ($DISABLED_TESTS)" %pytest -k "not ($DISABLED_TESTS)"