1
0

Accepting request 1077427 from devel:languages:python:numeric

- 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/request/show/1077427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hdf5storage?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-04-05 19:27:45 +00:00 committed by Git OBS Bridge
commit 34eb37f70b
4 changed files with 21 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bbf19aaa5a61096ed075b642f413638da0b7d465b02b04bfbe3ed8bfc120723
size 126907

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a1a6badf546e8942f4d22d598aee14021796bc28918519c9687a6abb0eeef86
size 100839

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Apr 5 07:07:55 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <mcepl@suse.com> Sat Jan 29 08:31:32 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-hdf5storage # 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 # 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
@ -16,34 +16,28 @@
# #
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-hdf5storage Name: python-hdf5storage
Version: 0.1.18 Version: 0.1.19
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
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}.tar.gz
# PATCH-FIX-UPSTREAM nose-to-pytest.patch gh#frejanordsiek/hdf5storage#96 mcepl@suse.com # PATCH-FIX-UPSTREAM nose-to-pytest.patch gh#frejanordsiek/hdf5storage#96 mcepl@suse.com
# uses pytest instead of nose # uses pytest instead of nose
Patch0: nose-to-pytest.patch Patch0: nose-to-pytest.patch
BuildRequires: %{python_module h5py >= 2.1} BuildRequires: %{python_module h5py >= 3.3}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip
# SECTION test requirements # SECTION test requirements
# next release will use pytest gh#frejanordsiek/hdf5storage#96 BuildRequires: %{python_module pytest >= 6.0}
BuildRequires: %{python_module pytest >= 5.0}
# I don't know how to do @pytest.mark.parametrize on class methods # I don't know how to do @pytest.mark.parametrize on class methods
BuildRequires: %{python_module parameterized} BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module scipy} BuildRequires: %{python_module scipy}
# /SECTION # /SECTION
Requires: python-h5py >= 2.1 Requires: python-h5py >= 3.3
Requires: python-numpy Requires: python-numpy
Recommends: python-scipy Recommends: python-scipy
# This pure python package uses ctypes only suited for 64-bit. The tests segfault on 32-bit in libc memmove # This pure python package uses ctypes only suited for 64-bit. The tests segfault on 32-bit in libc memmove