Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-h5py for openSUSE:Factory 
checked in at 2022-03-06 18:15:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-h5py (Old)
 and      /work/SRC/openSUSE:Factory/.python-h5py.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-h5py"

Sun Mar  6 18:15:58 2022 rev:22 rq:959731 version:3.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes  2021-09-09 
23:08:22.700889047 +0200
+++ /work/SRC/openSUSE:Factory/.python-h5py.new.1958/python-h5py.changes        
2022-03-06 18:16:16.859830115 +0100
@@ -1,0 +2,17 @@
+Fri Mar  4 11:43:46 UTC 2022 - Atri Bhattacharya <[email protected]>
+
+- Update to version 3.6.0:
+  * Using :meth:`.Dataset.astype` as a context manager (with
+    dset.astype(t):) is deprecated. Slice the object returned by
+    astype instead (data = dset.astype(t)[:10]).
+  * Getting the value of h5py.get_config().default_file_mode now
+    issues a deprecation warning. This has been 'r' by default
+    from h5py 3.0, and cannot be changed since 3.3.
+- Rebase python-h5py-relax-dependency-versions.patch to apply
+  against updated version.
+- Also enforce %requires_eq on hdf5 to force rebuilds when hdf5
+  gets version updates in Factory (boo#1196682).
+- Skip tests marked with 'mpi_skip' when building with openmpi
+  flavours (see e.g., https://github.com/h5py/h5py/issues/1997).
+
+-------------------------------------------------------------------

Old:
----
  h5py-3.4.0.tar.gz

New:
----
  h5py-3.6.0.tar.gz

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

Other differences:
------------------
++++++ python-h5py.spec ++++++
--- /var/tmp/diff_new_pack.h5IDYi/_old  2022-03-06 18:16:17.331830179 +0100
+++ /var/tmp/diff_new_pack.h5IDYi/_new  2022-03-06 18:16:17.335830179 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-h5py
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -63,7 +63,7 @@
 %endif
 # /SECTION MPI DEFINITIONS
 Name:           %{pname}%{?my_suffix}
-Version:        3.4.0
+Version:        3.6.0
 Release:        0
 Summary:        Python interface to the Hierarchical Data Format library
 License:        BSD-3-Clause
@@ -86,7 +86,7 @@
 BuildRequires:  %{python_module cached-property if (%python-base < 3.8)}
 BuildRequires:  %{python_module numpy-devel >= 1.17.5 if (%python-base >= 3.8)}
 BuildRequires:  %{python_module numpy-devel >= 1.19.3 if (%python-base >= 3.9)}
-Requires:       hdf5%{?my_suffix}
+%requires_eq    hdf5%{?my_suffix}
 %requires_eq    libhdf5%{?my_suffix}
 %if 0%{python_version_nodots} >= 39
 Requires:       python-numpy >= 1.19.3
@@ -146,9 +146,9 @@
 export PYTHONDONTWRITEBYTECODE=1
 pytest-%{$python_bin_suffix} %{buildroot}%{my_sitearch_in_expand}/h5py/ \
 %ifarch %{ix86}
-        %{?with_mpi:-k 'not test_float_round_tripping'}%{!?with_mpi:-k 'not 
(TestMPI or test_float_round_tripping)'}
+        %{?with_mpi:-k 'not test_float_round_tripping' -m 'not 
mpi_skip'}%{!?with_mpi:-k 'not (TestMPI or test_float_round_tripping)'}
 %else
-        %{!?with_mpi:-k 'not TestMPI'}
+        %{?with_mpi:-m 'not mpi_skip'}%{!?with_mpi:-k 'not TestMPI'}
 %endif
 }
 

++++++ h5py-3.4.0.tar.gz -> h5py-3.6.0.tar.gz ++++++
++++ 1742 lines of diff (skipped)

++++++ python-h5py-relax-dependency-versions.patch ++++++
--- /var/tmp/diff_new_pack.h5IDYi/_old  2022-03-06 18:16:17.471830198 +0100
+++ /var/tmp/diff_new_pack.h5IDYi/_new  2022-03-06 18:16:17.475830198 +0100
@@ -1,20 +1,12 @@
-diff -ruN a/setup.py b/setup.py
---- a/setup.py 2021-06-22 19:06:03.000000000 +0700
-+++ b/setup.py 2021-06-23 16:34:56.979814305 +0700
-@@ -49,14 +49,14 @@
-     "Cython >=0.29.14; python_version=='3.8'",
-     "Cython >=0.29.15; python_version>='3.9'",
- ] + [
--    f"numpy =={np_min}; python_version{py_condition}"
-+    f"numpy >={np_min}; python_version{py_condition}"
-     for np_min, py_condition in NUMPY_MIN_VERSIONS
- ]
- 
+Index: h5py-3.6.0/setup.py
+===================================================================
+--- h5py-3.6.0.orig/setup.py
++++ h5py-3.6.0/setup.py
+@@ -46,7 +46,7 @@ SETUP_REQUIRES = []
  if setup_configure.mpi_enabled():
      RUN_REQUIRES.append('mpi4py >=3.0.2')
--    SETUP_REQUIRES.append("mpi4py ==3.0.2; python_version<'3.8'")
+     SETUP_REQUIRES.append("mpi4py ==3.0.2; python_version<'3.8'")
 -    SETUP_REQUIRES.append("mpi4py ==3.0.3; python_version>='3.8'")
-+    SETUP_REQUIRES.append("mpi4py >=3.0.2; python_version<'3.8'")
 +    SETUP_REQUIRES.append("mpi4py >=3.0.3; python_version>='3.8'")
  
  # Set the environment variable H5PY_SETUP_REQUIRES=0 if we need to skip

Reply via email to