8 Commits

Author SHA256 Message Date
d0ae394364 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
23b8a55042 - 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
dcbe948a20 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
ee1a1838db 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
7ffdbcd515 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
8a3e2c8d7e Accepting request 1270280 from home:mcalabkova:branches:devel:languages:python
- 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/request/show/1270280
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
07578dcf08 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
d6133bf553 Accepting request 1254191 from home:mcalabkova:branches:devel:languages:python
- Add numpy22.patch to fix doctests with numpy 2.2

OBS-URL: https://build.opensuse.org/request/show/1254191
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
2 changed files with 17 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@@ -87,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_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"
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
# 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}