Hello community, here is the log from the commit of package python-joblib for openSUSE:Factory checked in at 2020-09-10 22:46:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-joblib (Old) and /work/SRC/openSUSE:Factory/.python-joblib.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-joblib" Thu Sep 10 22:46:47 2020 rev:14 rq:832923 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-joblib/python-joblib.changes 2020-08-21 19:15:36.828763885 +0200 +++ /work/SRC/openSUSE:Factory/.python-joblib.new.4249/python-joblib.changes 2020-09-10 22:46:51.911758574 +0200 @@ -1,0 +2,6 @@ +Tue Sep 8 08:26:41 UTC 2020 - Guillaume GARDET <[email protected]> + +- Disable tests failing often in OBS: + * joblib-disable-unrelialble-tests.patch + +------------------------------------------------------------------- New: ---- joblib-disable-unrelialble-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-joblib.spec ++++++ --- /var/tmp/diff_new_pack.Om6hcj/_old 2020-09-10 22:46:53.039759613 +0200 +++ /var/tmp/diff_new_pack.Om6hcj/_new 2020-09-10 22:46:53.043759617 +0200 @@ -27,6 +27,8 @@ URL: https://github.com/joblib/joblib Source: https://files.pythonhosted.org/packages/source/j/joblib/joblib-%{version}.tar.gz Patch1: disable_test_on_big_endian.patch +# PATCH-FIX-OPENSUSE - Disable tests failing often in OBS +Patch2: joblib-disable-unrelialble-tests.patch BuildRequires: %{python_module lz4} BuildRequires: %{python_module numpy} BuildRequires: %{python_module psutil} @@ -57,6 +59,9 @@ %prep %setup -q -n joblib-%{version} %patch1 -p1 +%ifarch aarch64 %arm ppc64 %{ix86} +%patch2 -p1 +%endif %build %python_build ++++++ joblib-disable-unrelialble-tests.patch ++++++ --- joblib-0.16.0/joblib/test/test_memmapping.py.orig 2020-09-08 08:01:19.285304370 +0000 +++ joblib-0.16.0/joblib/test/test_memmapping.py 2020-09-08 08:05:25.318014706 +0000 @@ -512,6 +512,7 @@ def test_memmapping_temp_folder_thread_s @with_numpy @with_multiprocessing def test_multithreaded_parallel_termination_resource_tracker_silent(): + raise SkipTest('Skipping this test as it fails often in OBS') # test that concurrent termination attempts of a same executor does not # emit any spurious error from the resource_tracker. We test various # situations making 0, 1 or both parallel call sending a task that will @@ -681,6 +682,8 @@ def test_memmap_returned_as_regular_arra @with_multiprocessing @parametrize("backend", ["multiprocessing", param("loky", marks=xfail)]) def test_resource_tracker_silent_when_reference_cycles(backend): + if backend == 'multiprocessing': + raise SkipTest('Skipping this test as it fails often in OBS') # There is a variety of reasons that can make joblib with loky backend # output noisy warnings when a reference cycle is preventing a memmap from # being garbage collected. Especially, joblib's main process finalizer @@ -778,6 +781,8 @@ def test_memmapping_pool_for_large_array @with_multiprocessing @parametrize("backend", ["multiprocessing", "loky"]) def test_child_raises_parent_exits_cleanly(backend): + if backend == 'multiprocessing': + raise SkipTest('Skipping this test as it fails often in OBS') # When a task executed by a child process raises an error, the parent # process's backend is notified, and calls abort_everything. # In loky, abort_everything itself calls shutdown(kill_workers=True) which
