From 2dee5e32042679ee23b2c816e89868b872cddcb8381fe1fddd6724a1848cbcf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 5 Oct 2020 14:21:50 +0000 Subject: [PATCH] Accepting request 839587 from home:pgajdos:python - disable yet another tests [bsc#1177209] OBS-URL: https://build.opensuse.org/request/show/839587 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-joblib?expand=0&rev=40 --- python-joblib.changes | 5 +++++ python-joblib.spec | 23 ++++++++++++++++++++++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/python-joblib.changes b/python-joblib.changes index 69bcc3d..e84e293 100644 --- a/python-joblib.changes +++ b/python-joblib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 5 14:18:31 UTC 2020 - pgajdos@suse.com + +- disable yet another tests [bsc#1177209] + ------------------------------------------------------------------- Tue Sep 8 08:26:41 UTC 2020 - Guillaume GARDET diff --git a/python-joblib.spec b/python-joblib.spec index f05fc0e..e38b487 100644 --- a/python-joblib.spec +++ b/python-joblib.spec @@ -72,7 +72,28 @@ Joblib can handle large data and has specific optimizations for `numpy` arrays. %check export LANG=en_US.UTF-8 -%pytest +# turn off unreliable tests across architectures +# https://bugzilla.suse.com/show_bug.cgi?id=1177209 +# they have been seen failing for the first time on following +# architectures: +# 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 +# x86_64: +# test_multithreaded_parallel_termination_resource_tracker_silent +# aarch64: +# test_resource_tracker_silent_when_reference_cycles +# test_child_raises_parent_exits_cleanly +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 \ + test_resource_tracker_silent_when_reference_cycles or \ + test_child_raises_parent_exits_cleanly" +%pytest -k "not ($DISABLED_TESTS)" %files %{python_files} %license LICENSE.txt