Hello community,

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

Package is "python-h5py"

Wed Aug 15 10:36:16 2018 rev:8 rq:628931 version:2.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2018-02-27 
16:59:49.379998600 +0100
+++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes     
2018-08-15 10:36:23.884073292 +0200
@@ -1,0 +2,10 @@
+Mon Aug 13 08:55:13 UTC 2018 - [email protected]
+
+- Updated to 2.8.0
+  Changes from 2.7.1 are too numerous to list here, complete changelog
+  is available online at https://github.com/h5py/h5py/releases
+  Patch dont_reorder_compund.patch has been included upstream
+- Remove dependency on unittest2
+  Patch remove_unittest2.patch facilitates the change
+
+-------------------------------------------------------------------

Old:
----
  dont_reorder_compund.patch
  h5py-2.7.1.tar.gz

New:
----
  h5py-2.8.0.tar.gz
  remove_unittest2.patch

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

Other differences:
------------------
++++++ python-h5py.spec ++++++
--- /var/tmp/diff_new_pack.ZJ1L7i/_old  2018-08-15 10:36:24.636074662 +0200
+++ /var/tmp/diff_new_pack.ZJ1L7i/_new  2018-08-15 10:36:24.636074662 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without  test
 Name:           python-h5py
-Version:        2.7.1
+Version:        2.8.0
 Release:        0
 Summary:        Python interface to the Hierarchical Data Format library
 License:        BSD-3-Clause
@@ -28,8 +28,8 @@
 Source:         
https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
 #PATCH-FIX-OPENSUSE no_include_opt.patch -- Don't include /opt/ directory.
 Patch0:         no_include_opt.patch
-#PATCH-FIX-UPSTREAM dont_reorder_compund.patch -- Don't reorder compound 
types, breaks on numpy 1.14. https://github.com/h5py/h5py/issues/969, 
https://github.com/h5py/h5py/pull/970
-Patch1:         dont_reorder_compund.patch
+#PATCH-FIX-OPENSUSE remove_unittest2.patch [email protected] -- remove dependency 
unittest2
+Patch1:         remove_unittest2.patch
 BuildRequires:  %{python_module Cython >= 0.23}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel >= 1.7}
@@ -39,9 +39,6 @@
 BuildRequires:  fdupes
 BuildRequires:  hdf5-devel
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  python-unittest2
-%endif
 Requires:       hdf5
 Requires:       python-numpy >= 1.7
 Requires:       python-six
@@ -61,7 +58,7 @@
 %patch1 -p1
 
 %build
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_build
 
 %install

++++++ h5py-2.7.1.tar.gz -> h5py-2.8.0.tar.gz ++++++
++++ 2461 lines of diff (skipped)

++++++ no_include_opt.patch ++++++
--- /var/tmp/diff_new_pack.ZJ1L7i/_old  2018-08-15 10:36:24.740074851 +0200
+++ /var/tmp/diff_new_pack.ZJ1L7i/_new  2018-08-15 10:36:24.744074859 +0200
@@ -6,15 +6,15 @@
 
 ---
 
-diff -U 3 -H -d -r -N -- a/setup_build.py b/setup_build.py
 --- a/setup_build.py
 +++ b/setup_build.py
-@@ -49,8 +49,5 @@
+@@ -53,9 +53,6 @@ if sys.platform.startswith('win'):
+         ('_HDF5USEDLL_', None),
          ('H5_BUILT_AS_DYNAMIC_LIB', None)
      ])
 -else:
--    COMPILER_SETTINGS['include_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
--    COMPILER_SETTINGS['library_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
+-    FALLBACK_PATHS['include_dirs'].extend(['/opt/local/include', 
'/usr/local/include'])
+-    FALLBACK_PATHS['library_dirs'].extend(['/opt/local/lib', 
'/usr/local/lib'])
  
  
  class h5py_build_ext(build_ext):

++++++ remove_unittest2.patch ++++++
--- a/h5py/tests/common.py
+++ b/h5py/tests/common.py
@@ -20,13 +20,7 @@ from six import unichr
 import numpy as np
 import h5py
 
-if sys.version_info[0] == 2:
-    try:
-        import unittest2 as ut
-    except ImportError:
-        raise ImportError( "unittest2 is required to run tests with Python 2")
-else:
-    import unittest as ut
+import unittest as ut
 
 
 # Check if non-ascii filenames are supported
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@ envlist = {py26,py27,py33,py34,py35,py36
 
 [testenv]
 deps =
-    py{26,27}-test: unittest2
+    py26-test: unittest2
     deps: cython>=0.23
     py{27,34,35,36}-deps: numpy>=1.7
     py26-deps: numpy>=1.7,<1.11
--- a/h5py/tests/old/test_h5t.py
+++ b/h5py/tests/old/test_h5t.py
@@ -10,6 +10,7 @@
 from __future__ import absolute_import
 
 import sys
+import unittest
 
 import numpy as np
 from six import PY2, text_type
@@ -211,6 +212,7 @@ class TestTypeFloatID(TestCase):
 
 
 class TestDeprecation(TestCase):
+    @unittest.skipIf(PY2, "Py2 unittest doesn't support assertWarnsRegex")
     def test_deprecation_available_ftypes(self):
         warning_message = ("Do not use available_ftypes, this is not part of "
             "the public API of h5py. See "

Reply via email to