Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hdf5storage for openSUSE:Factory checked in at 2022-01-29 20:59:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hdf5storage (Old) and /work/SRC/openSUSE:Factory/.python-hdf5storage.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hdf5storage" Sat Jan 29 20:59:44 2022 rev:3 rq:949874 version:0.1.18 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hdf5storage/python-hdf5storage.changes 2021-03-12 13:33:09.814312694 +0100 +++ /work/SRC/openSUSE:Factory/.python-hdf5storage.new.1898/python-hdf5storage.changes 2022-01-29 21:00:31.647301134 +0100 @@ -1,0 +2,23 @@ +Sat Jan 29 08:31:32 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update 0.1.18 (performance improving release): + - Pull Request #111 from Daniel Hrisca. Many repeated calls to + the __getitem__ methods of objects were turned into single + calls. + - Further reducionts in __getitem__ calls in the spirit of PR + #111. +- Update to 0.1.17 (bugfix and deprecation workaround release): + - Issue #109. Fixed the fix Issue #102 for 32-bit platforms + (previous fix was segfaulting). + - Moved to using pkg_resources.parse_version from setuptools + with distutils.version classes as a fallback instead of just + the later to prepare for the removal of distutils (PEP 632) + and prevent warnings on Python versions where it is marked as + deprecated. + - Issue #110. Changed all uses of the tostring method on numpy + types to using tobytes if available, with tostring as the + fallback for old versions of numpy where it is not. +- Add nose-to-pytest.patch which allows use of pytest instead of + nose (not based on the upstream solution). + +------------------------------------------------------------------- Old: ---- hdf5storage-0.1.16.zip New: ---- hdf5storage-0.1.18.zip nose-to-pytest.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hdf5storage.spec ++++++ --- /var/tmp/diff_new_pack.MjXe1H/_old 2022-01-29 21:00:32.239297155 +0100 +++ /var/tmp/diff_new_pack.MjXe1H/_new 2022-01-29 21:00:32.243297128 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-hdf5storage # -# 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 @@ -20,13 +20,16 @@ %define skip_python2 1 %define skip_python36 1 Name: python-hdf5storage -Version: 0.1.16 +Version: 0.1.18 Release: 0 Summary: Utilities to read/write HDF5 files, including MATLAB v7.3 MAT files License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/frejanordsiek/hdf5storage Source: https://files.pythonhosted.org/packages/source/h/hdf5storage/hdf5storage-%{version}.zip +# PATCH-FIX-UPSTREAM nose-to-pytest.patch gh#frejanordsiek/hdf5storage#96 mc...@suse.com +# uses pytest instead of nose +Patch0: nose-to-pytest.patch BuildRequires: %{python_module h5py >= 2.1} BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} @@ -35,7 +38,9 @@ BuildRequires: unzip # SECTION test requirements # next release will use pytest gh#frejanordsiek/hdf5storage#96 -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest >= 5.0} +# I don't know how to do @pytest.mark.parametrize on class methods +BuildRequires: %{python_module parameterized} BuildRequires: %{python_module scipy} # /SECTION Requires: python-h5py >= 2.1 @@ -66,10 +71,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -export PYTHONDONTWRITEBYTECODE=1 -nosetests-%{$python_bin_suffix} -v -} +%pytest %files %{python_files} %doc README.rst ++++++ nose-to-pytest.patch ++++++ ++++ 841 lines (skipped)