Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-joblib for openSUSE:Factory 
checked in at 2026-12-01 16:57:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-joblib (Old)
 and      /work/SRC/openSUSE:Factory/.python-joblib.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-joblib"

Tue Dec  1 16:57:57 2026 rev:36 rq:1400955 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-joblib/python-joblib.changes      
2026-09-04 12:36:44.564856342 +0200
+++ /work/SRC/openSUSE:Factory/.python-joblib.new.1340718/python-joblib.changes 
2026-12-01 16:58:06.618949652 +0100
@@ -1,0 +2,11 @@
+Thu Nov 19 16:06:38 UTC 2026 - Matej Cepl <[email protected]>
+
+- Fix the big-endian test exclusions in %check: the byte order
+  was detected by calling `python3`, which does not exist in
+  build roots without the default python3 symlink (e.g. SLFO),
+  so the exclusions were silently skipped and
+  test_joblib_pickle_across_python_versions_with_mmap failed on
+  s390x. Check %{_host_cpu} instead (%ifarch does not work in
+  noarch packages).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-joblib.spec ++++++
--- /var/tmp/diff_new_pack.EtxaIL/_old  2026-12-01 16:58:07.626991844 +0100
+++ /var/tmp/diff_new_pack.EtxaIL/_new  2026-12-01 16:58:07.630992012 +0100
@@ -95,13 +95,15 @@
                 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 \
+# big-endian architectures; %%ifarch cannot be used here, because
+# for noarch packages %%_target_cpu is always "noarch"
+%if "%{_host_cpu}" == "s390x" || "%{_host_cpu}" == "ppc64" || "%{_host_cpu}" 
== "ppc"
+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
+%endif
 %pytest -k "not ($DISABLED_TESTS)"
 
 %files %{python_files}

Reply via email to