forked from pool/python-hdf5storage
Accepting request 877801 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.1.16 * Issue #81 and #82. h5py.File will require the mode to be passed explicitly in the future. All calls without passing it were fixed to pass it. * Issue #102. Added support for h5py 3.0 and 3.1. * Issue #73. Fixed bug where a missing variable in loadmat would cause the function to think that the file is a pre v7.3 format MAT file fall back to scipy.io.loadmat which won't work since the file is a v7.3 format MAT file. * Fixed formatting issues in the docstrings and the documentation that prevented the documentation from building. - Release 0.1.15 * Issue #68. Fixed bug where str and numpy.unicode_ strings (but not ndarrays of them) were saved in uint32 format regardless of the value of Options.convert_numpy_bytes_to_utf16. * Issue #70. Updated setup.py and requirements.txt to specify the maximum versions of numpy and h5py that can be used for specific python versions (avoid version with dropped support). * Issue #71. Fixed bug where the 'python_fields' attribute wouldn't always be written when doing python metadata for data written in a struct-like fashion. The bug caused the field order to not be preserved when writing and reading. * Fixed an assertion in the tests to handle field re-ordering when no metadata is used for structured dtypes that only worked on older versions of numpy. * Issue #72. Fixed bug where python collections filled with ndarrays that all have the same shape were converted to multi-dimensional object ndarrays instead of a 1D object ndarray of the elements. - Skip python2 (dropped upstream) and python36 (NumPy 1.20, NEP 29) - Don't build for 32-bit gh#frejanordsiek/hdf5storage#109 OBS-URL: https://build.opensuse.org/request/show/877801 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-hdf5storage?expand=0&rev=5
This commit is contained in:
parent
f2048603bc
commit
aea83d4209
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:79d23ad4ca89b8824b4ff98764ff9403a9830caa7497cae75e001d2dfbbf4e8e
|
|
||||||
size 129691
|
|
3
hdf5storage-0.1.16.zip
Normal file
3
hdf5storage-0.1.16.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5047e7d8750050e2b1d60fff88ae2cdcbc08c1450ee1bf7bde41b6308a23043b
|
||||||
|
size 124764
|
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 8 18:40:19 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.1.16
|
||||||
|
* Issue #81 and #82. h5py.File will require the mode to be
|
||||||
|
passed explicitly in the future. All calls without passing it
|
||||||
|
were fixed to pass it.
|
||||||
|
* Issue #102. Added support for h5py 3.0 and 3.1.
|
||||||
|
* Issue #73. Fixed bug where a missing variable in loadmat would
|
||||||
|
cause the function to think that the file is a pre v7.3 format
|
||||||
|
MAT file fall back to scipy.io.loadmat which won't work since
|
||||||
|
the file is a v7.3 format MAT file.
|
||||||
|
* Fixed formatting issues in the docstrings and the
|
||||||
|
documentation that prevented the documentation from building.
|
||||||
|
- Release 0.1.15
|
||||||
|
* Issue #68. Fixed bug where str and numpy.unicode_ strings (but
|
||||||
|
not ndarrays of them) were saved in uint32 format regardless
|
||||||
|
of the value of Options.convert_numpy_bytes_to_utf16.
|
||||||
|
* Issue #70. Updated setup.py and requirements.txt to specify
|
||||||
|
the maximum versions of numpy and h5py that can be used for
|
||||||
|
specific python versions (avoid version with dropped support).
|
||||||
|
* Issue #71. Fixed bug where the 'python_fields' attribute
|
||||||
|
wouldn't always be written when doing python metadata for data
|
||||||
|
written in a struct-like fashion. The bug caused the field
|
||||||
|
order to not be preserved when writing and reading.
|
||||||
|
* Fixed an assertion in the tests to handle field re-ordering
|
||||||
|
when no metadata is used for structured dtypes that only
|
||||||
|
worked on older versions of numpy.
|
||||||
|
* Issue #72. Fixed bug where python collections filled with
|
||||||
|
ndarrays that all have the same shape were converted to
|
||||||
|
multi-dimensional object ndarrays instead of a 1D object
|
||||||
|
ndarray of the elements.
|
||||||
|
- Skip python2 (dropped upstream) and python36 (NumPy 1.20, NEP 29)
|
||||||
|
- Don't build for 32-bit gh#frejanordsiek/hdf5storage#109
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 24 17:34:42 UTC 2018 - toddrme2178@gmail.com
|
Thu May 24 17:34:42 UTC 2018 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-hdf5storage
|
# spec file for package python-hdf5storage
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,34 +12,38 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
|
%define skip_python36 1
|
||||||
Name: python-hdf5storage
|
Name: python-hdf5storage
|
||||||
Version: 0.1.15
|
Version: 0.1.16
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utilities to read/write HDF5 files, including MATLAB v7.3 MAT files
|
Summary: Utilities to read/write HDF5 files, including MATLAB v7.3 MAT files
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/frejanordsiek/hdf5storage
|
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}.zip
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module h5py >= 2.1}
|
BuildRequires: %{python_module h5py >= 2.1}
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module numpy}
|
||||||
BuildRequires: %{python_module scipy}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
# next release will use pytest gh#frejanordsiek/hdf5storage#96
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
|
BuildRequires: %{python_module scipy}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-h5py >= 2.1
|
Requires: python-h5py >= 2.1
|
||||||
Requires: python-numpy
|
Requires: python-numpy
|
||||||
Requires: python-scipy
|
Recommends: python-scipy
|
||||||
BuildArch: noarch
|
# This pure python package uses ctypes only suited for 64-bit. The tests segfault on 32-bit in libc memmove
|
||||||
|
# gh#frejanordsiek/hdf5storage#109
|
||||||
|
ExcludeArch: %ix86 %arm
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,7 +54,7 @@ files, which are just HDF5 files with a different extension and some
|
|||||||
extra meta-data.
|
extra meta-data.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n hdf5storage-%{version}
|
%autosetup -p1 -n hdf5storage-%{version}
|
||||||
# fix end-of-line encoding
|
# fix end-of-line encoding
|
||||||
sed -i 's/\r$//' COPYING.txt
|
sed -i 's/\r$//' COPYING.txt
|
||||||
|
|
||||||
@ -62,7 +66,10 @@ sed -i 's/\r$//' COPYING.txt
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
nosetests-%{$python_bin_suffix} -v
|
||||||
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user