Hello community,

here is the log from the commit of package python-joblib for openSUSE:Factory 
checked in at 2020-08-21 19:14:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-joblib (Old)
 and      /work/SRC/openSUSE:Factory/.python-joblib.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-joblib"

Fri Aug 21 19:14:58 2020 rev:13 rq:828437 version:0.16.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-joblib/python-joblib.changes      
2020-07-18 21:02:50.151600709 +0200
+++ /work/SRC/openSUSE:Factory/.python-joblib.new.3399/python-joblib.changes    
2020-08-21 19:15:36.828763885 +0200
@@ -1,0 +2,6 @@
+Fri Aug 21 08:40:04 UTC 2020 - Michel Normand <norm...@linux.vnet.ibm.com>
+
+- New disable_test_on_big_endian.patch as per upstream issue
+  https://github.com/joblib/joblib/issues/279
+
+-------------------------------------------------------------------

New:
----
  disable_test_on_big_endian.patch

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

Other differences:
------------------
++++++ python-joblib.spec ++++++
--- /var/tmp/diff_new_pack.XKM6cK/_old  2020-08-21 19:15:41.336766563 +0200
+++ /var/tmp/diff_new_pack.XKM6cK/_new  2020-08-21 19:15:41.340766565 +0200
@@ -26,6 +26,7 @@
 Group:          Development/Languages/Python
 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
 BuildRequires:  %{python_module lz4}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module psutil}
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q -n joblib-%{version}
+%patch1 -p1
 
 %build
 %python_build

++++++ disable_test_on_big_endian.patch ++++++
From: Michel Normand <norm...@linux.vnet.ibm.com>
Subject: disable test on big endian
Date: Fri, 21 Aug 2020 10:35:13 +0200

disable test on big endian

because still open
https://github.com/joblib/joblib/issues/279

Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
---
 joblib/test/test_numpy_pickle.py |    7 +++++++
 1 file changed, 7 insertions(+)

Index: joblib-0.16.0/joblib/test/test_numpy_pickle.py
===================================================================
--- joblib-0.16.0.orig/joblib/test/test_numpy_pickle.py
+++ joblib-0.16.0/joblib/test/test_numpy_pickle.py
@@ -2,6 +2,7 @@
 
 import copy
 import os
+import sys
 import random
 import re
 import io
@@ -426,6 +427,12 @@ def _check_pickle(filename, expected_lis
 
 @with_numpy
 def test_joblib_pickle_across_python_versions():
+    # temporarily disable this test on non little-endian machines
+    # because next endianness lines not sufficient.
+    # https://github.com/joblib/joblib/issues/279 still open.
+    if sys.byteorder != 'little':
+        raise SkipTest('Skipping this test on non little-endian machines')
+
     # We need to be specific about dtypes in particular endianness
     # because the pickles can be generated on one architecture and
     # the tests run on another one. See

Reply via email to