Hello community, here is the log from the commit of package python-h5py for openSUSE:Factory checked in at 2018-10-15 09:42:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-h5py (Old) and /work/SRC/openSUSE:Factory/.python-h5py.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-h5py" Mon Oct 15 09:42:43 2018 rev:10 rq:641724 version:2.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes 2018-10-12 13:11:44.635210258 +0200 +++ /work/SRC/openSUSE:Factory/.python-h5py.new/python-h5py.changes 2018-10-15 09:43:08.915390256 +0200 @@ -1,0 +2,7 @@ +Fri Oct 12 15:00:53 UTC 2018 - Matej Cepl <mc...@suse.com> + +- Remove valuerror-typerror-failing-tests.patch and replace it with + proper patch (https://github.com/tacaswell/h5py/commit/6653c65e8c8d0.patch) + in adjust_mapping_hdf5_error_codes.patch. + +------------------------------------------------------------------- Old: ---- valuerror-typerror-failing-tests.patch New: ---- adjust_mapping_hdf5_error_codes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-h5py.spec ++++++ --- /var/tmp/diff_new_pack.bIA5Y3/_old 2018-10-15 09:43:10.875388464 +0200 +++ /var/tmp/diff_new_pack.bIA5Y3/_new 2018-10-15 09:43:10.875388464 +0200 @@ -32,7 +32,7 @@ Patch1: remove_unittest2.patch #PATCH-FIX-UPSTREAM valuerror-typerror-failing-tests.patch mc...@suse.cz # https://github.com/h5py/h5py/issues/1088 -Patch2: valuerror-typerror-failing-tests.patch +Patch2: adjust_mapping_hdf5_error_codes.patch BuildRequires: %{python_module Cython >= 0.23} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.7} ++++++ adjust_mapping_hdf5_error_codes.patch ++++++ >From 6653c65e8c8d024bbcf50315a1c5201487632322 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell <tcasw...@gmail.com> Date: Thu, 11 Oct 2018 23:39:29 -0400 Subject: [PATCH] FIX: adjust mapping of hdf5 error codes -> python error codes This is to account for changes to hdf5 between 1.10.2 and 1.10.3. Closes #1088 --- h5py/_errors.pyx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx index 76801f4f..23849f49 100644 --- a/h5py/_errors.pyx +++ b/h5py/_errors.pyx @@ -73,6 +73,13 @@ _exact_table = { (H5E_SYM, H5E_CANTINIT): ValueError, # Object already exists/1.8 (H5E_ARGS, H5E_BADTYPE): ValueError, # Invalid location in file (H5E_REFERENCE, H5E_CANTINIT): ValueError, # Dereferencing invalid ref + + # needed for 1.10.3 to maintain compatibility with 1.10.{0,1,2} + + # due to changes to H5Gdeprec.c:H5Gget_num_objs + (H5E_SYM, H5E_BADTYPE): ValueError, # Invalid location in file + # due to changes to H5F.c:H5Fstart_swmr_write + (H5E_FILE, H5E_CANTCONVERT): ValueError, # Invalid file format } cdef struct err_data_t: