From cc56e07263f96cfa5b1e3c21639330d30096b5490de9ea0fffc41a447803a98c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 5 Apr 2023 07:08:54 +0000 Subject: [PATCH] - Update to 0.1.19 Bugfix release: * Issue #122 and #124. Replaced use of deprecated ``numpy.asscalar`` functions with the ``numpy.ndarray.item`` method. * Issue #123. Forced the use of English month and day of the week names in the HDF5 header for MATLAB compatibility. * Issue #125. Fixed accidental collection of ``pkg_resources.parse_version`` from setuptools as a Marshaller now that it is a class. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-hdf5storage?expand=0&rev=8 --- hdf5storage-0.1.18.zip | 3 --- hdf5storage-0.1.19.tar.gz | 3 +++ python-hdf5storage.changes | 12 ++++++++++++ python-hdf5storage.spec | 18 ++++++------------ 4 files changed, 21 insertions(+), 15 deletions(-) delete mode 100644 hdf5storage-0.1.18.zip create mode 100644 hdf5storage-0.1.19.tar.gz diff --git a/hdf5storage-0.1.18.zip b/hdf5storage-0.1.18.zip deleted file mode 100644 index a517ea7..0000000 --- a/hdf5storage-0.1.18.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5bbf19aaa5a61096ed075b642f413638da0b7d465b02b04bfbe3ed8bfc120723 -size 126907 diff --git a/hdf5storage-0.1.19.tar.gz b/hdf5storage-0.1.19.tar.gz new file mode 100644 index 0000000..9e20593 --- /dev/null +++ b/hdf5storage-0.1.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a1a6badf546e8942f4d22d598aee14021796bc28918519c9687a6abb0eeef86 +size 100839 diff --git a/python-hdf5storage.changes b/python-hdf5storage.changes index 8230027..2927c6e 100644 --- a/python-hdf5storage.changes +++ b/python-hdf5storage.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Apr 5 07:07:55 UTC 2023 - Steve Kowalik + +- Update to 0.1.19 Bugfix release: + * Issue #122 and #124. Replaced use of deprecated ``numpy.asscalar`` + functions with the ``numpy.ndarray.item`` method. + * Issue #123. Forced the use of English month and day of the week names + in the HDF5 header for MATLAB compatibility. + * Issue #125. Fixed accidental collection of + ``pkg_resources.parse_version`` from setuptools as a Marshaller now + that it is a class. + ------------------------------------------------------------------- Sat Jan 29 08:31:32 UTC 2022 - Matej Cepl diff --git a/python-hdf5storage.spec b/python-hdf5storage.spec index c23897e..29f931e 100644 --- a/python-hdf5storage.spec +++ b/python-hdf5storage.spec @@ -1,7 +1,7 @@ # # spec file for package python-hdf5storage # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,34 +16,28 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-hdf5storage -Version: 0.1.18 +Version: 0.1.19 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 +Source: https://files.pythonhosted.org/packages/source/h/hdf5storage/hdf5storage-%{version}.tar.gz # PATCH-FIX-UPSTREAM nose-to-pytest.patch gh#frejanordsiek/hdf5storage#96 mcepl@suse.com # uses pytest instead of nose Patch0: nose-to-pytest.patch -BuildRequires: %{python_module h5py >= 2.1} +BuildRequires: %{python_module h5py >= 3.3} BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: unzip # SECTION test requirements -# next release will use pytest gh#frejanordsiek/hdf5storage#96 -BuildRequires: %{python_module pytest >= 5.0} +BuildRequires: %{python_module pytest >= 6.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 +Requires: python-h5py >= 3.3 Requires: python-numpy Recommends: python-scipy # This pure python package uses ctypes only suited for 64-bit. The tests segfault on 32-bit in libc memmove