Hello community, here is the log from the commit of package python-h5py for openSUSE:Factory checked in at 2019-09-16 10:51:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-h5py (Old) and /work/SRC/openSUSE:Factory/.python-h5py.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-h5py" Mon Sep 16 10:51:14 2019 rev:14 rq:730750 version:2.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes 2019-08-05 10:36:14.647335485 +0200 +++ /work/SRC/openSUSE:Factory/.python-h5py.new.7948/python-h5py.changes 2019-09-16 10:51:16.279165481 +0200 @@ -1,0 +2,8 @@ +Fri Sep 13 13:12:21 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 2.10.0: + * no upstream changelog provided +- Update patch remove_unittest2.patch +- Remove upstream merged fix_failing_x86_test.patch + +------------------------------------------------------------------- Old: ---- fix_failing_x86_test.patch h5py-2.9.0.tar.gz New: ---- h5py-2.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-h5py.spec ++++++ --- /var/tmp/diff_new_pack.A5CoE2/_old 2019-09-16 10:51:16.859165405 +0200 +++ /var/tmp/diff_new_pack.A5CoE2/_new 2019-09-16 10:51:16.859165405 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-h5py -Version: 2.9.0 +Version: 2.10.0 Release: 0 Summary: Python interface to the Hierarchical Data Format library License: BSD-3-Clause @@ -29,12 +29,11 @@ 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} BuildRequires: %{python_module pkgconfig} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -65,12 +64,10 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -export CFLAGS="%{optflags} -fno-strict-aliasing" -mkdir check -pushd check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} -$python -B -c "from sys import exit; import h5py; exit(0) if h5py.run_tests().wasSuccessful() else exit(1)" -} +export PYTHONDONTWRITEBYTECODE=1 +# test_float_round_tripping -- overflows on 32bit +# py3 only code must be skipped +%pytest_arch %{buildroot}%{$python_sitearch}/h5py/tests/ -k 'not (test_highlevel_access or test_deprecation_available_ftypes or test_read_uncompressed_offsets or test_read_write_chunk or test_float_round_tripping)' %files %{python_files} %license lzf/LICENSE.txt ++++++ h5py-2.9.0.tar.gz -> h5py-2.10.0.tar.gz ++++++ ++++ 17675 lines of diff (skipped) ++++++ remove_unittest2.patch ++++++ --- /var/tmp/diff_new_pack.A5CoE2/_old 2019-09-16 10:51:16.971165391 +0200 +++ /var/tmp/diff_new_pack.A5CoE2/_new 2019-09-16 10:51:16.971165391 +0200 @@ -17,23 +17,3 @@ # Check if non-ascii filenames are supported -Index: h5py-2.9.0/h5py/tests/old/test_h5t.py -=================================================================== ---- h5py-2.9.0.orig/h5py/tests/old/test_h5t.py -+++ h5py-2.9.0/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 "
