Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2019-08-05 10:36:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and      /work/SRC/openSUSE:Factory/.python-h5py.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-h5py"

Mon Aug  5 10:36:01 2019 rev:13 rq:720115 version:2.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2019-03-12 
09:54:59.827519135 +0100
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.4126/python-h5py.changes        
2019-08-05 10:36:14.647335485 +0200
@@ -1,0 +2,8 @@
+Wed Jul 31 19:43:07 UTC 2019 - Todd R <[email protected]>
+
+- Add fix_failing_x86_test.patch 
+  Fixes spurious test failure on x86 platfomrs
+  See  gh#h5py/h5py#1163
+  From gh#h5py/h5py#1235
+
+-------------------------------------------------------------------

New:
----
  fix_failing_x86_test.patch

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

Other differences:
------------------
++++++ python-h5py.spec ++++++
--- /var/tmp/diff_new_pack.mx1rfo/_old  2019-08-05 10:36:16.135335315 +0200
+++ /var/tmp/diff_new_pack.mx1rfo/_new  2019-08-05 10:36:16.179335311 +0200
@@ -29,6 +29,8 @@
 Patch0:         no_include_opt.patch
 #PATCH-FIX-OPENSUSE remove_unittest2.patch [email protected] -- remove dependency 
unittest2
 Patch1:         remove_unittest2.patch
+#PATCH-FIX-UPSTREAM fix_failing_x86_test.patch --gh#h5py/h5py#1235 
gh#h5py/h5py#1163
+Patch2:         fix_failing_x86_test.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}

++++++ fix_failing_x86_test.patch ++++++
>From b59221621673950e93644b4c2051c41153810f41 Mon Sep 17 00:00:00 2001
From: James Tocknell <[email protected]>
Date: Fri, 14 Jun 2019 10:07:36 +1000
Subject: [PATCH] TST: Skip failing long double test on i386 for 2.10 release

Revert this commit post release, and fix complex float -> hdf5 code
---
 h5py/tests/hl/test_datatype.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/h5py/tests/hl/test_datatype.py b/h5py/tests/hl/test_datatype.py
index b5ea950b..24b87873 100644
--- a/h5py/tests/hl/test_datatype.py
+++ b/h5py/tests/hl/test_datatype.py
@@ -5,11 +5,14 @@
 from __future__ import absolute_import
 
 from itertools import count
+import platform
 import numpy as np
 import h5py
 
 from ..common import ut, TestCase
 
+x86_32_BIT_SYSTEMS = ('i386', 'i486','i586','i686',)
+
 class TestVlen(TestCase):
 
     """
@@ -216,6 +219,9 @@ def test_out_of_order_offsets(self):
         with h5py.File(fname, 'r') as fd:
             self.assertArrayEqual(fd['data'], data)
 
+    @ut.skipIf(
+        platform.machine() in x86_32_BIT_SYSTEMS,
+        'Test fails on i386, need to sort out long double FIX THIS')
     def test_float_round_tripping(self):
         dtypes = set(f for f in np.typeDict.values()
                      if (np.issubdtype(f, np.floating) or

Reply via email to