SHA256
1
0
forked from pool/python-h5py

4 Commits

Author SHA256 Message Date
ed36e1e0c6 Accepting request 1224515 from devel:languages:python:numeric
- Update to 3.12.1
  ## Breaking changes
  * Support for Python 3.8 was dropped (PR 2471). Python 3.9 or
    newer is required to build or install h5py 3.12.
  * The minimum supported version of HDF5 was increased to 1.10.6
    (PR 2486). If you need h5py on HDF5 1.10.4 or .5, please use
    h5py 3.11.
  * The fill time for chunked storage was previously set to
    h5d.FILL_TIME_ALLOC. Now this the default comes from HDF5,
    which uses h5d.FILL_TIME_IFSET (equivalent to
    fill_time='ifset') (PR 2463). Please use fill_time='alloc' if
    the change is a problem for you.
  ## Exposing HDF5 functions
  * Expose fill time option in dataset creation property list via
    the fill_time parameter in create_dataset() (PR 2463).
  ## Bug fixes
  * Fix an error where native float16 support is not available (PR
    2422).
  * Fixed values of H5F_close_degree_t enum (PR 2433).
  * External links are now accessed with libhdf5’s default access
    properties (PR 2433).
  * Fix the iteration order for the root group in a file with
    creation order tracked (PR 2410).
  * Fixed some deprecation warnings from NumPy (PR 2416).
 ## Building h5py
  * Require a newer version of mpi4py for Python 3.12 (PR 2418).
  * The test suite is now configured to fail on unexpected warnings
    (PR 2428).
  * The generated Cython wrapper code (defs.* & _hdf5.pxd) is now
    specific to the version of HDF5 it’s building for. If the

OBS-URL: https://build.opensuse.org/request/show/1224515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-h5py?expand=0&rev=32
2024-11-17 15:41:34 +00:00
abf09de176 Fix workaround: python-rpm-macros needs to see it
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=58
2024-11-15 20:17:41 +00:00
e9e9fe2453 - Don't %requires_eq libhdf5{%my_suffix}: not a package but a
capability of e.g. libhdf5-200 -- boo#1196682

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=57
2024-11-15 19:46:46 +00:00
eff4e5743f - Update to 3.12.1
## Breaking changes
  * Support for Python 3.8 was dropped (PR 2471). Python 3.9 or
    newer is required to build or install h5py 3.12.
  * The minimum supported version of HDF5 was increased to 1.10.6
    (PR 2486). If you need h5py on HDF5 1.10.4 or .5, please use
    h5py 3.11.
  * The fill time for chunked storage was previously set to
    h5d.FILL_TIME_ALLOC. Now this the default comes from HDF5,
    which uses h5d.FILL_TIME_IFSET (equivalent to
    fill_time='ifset') (PR 2463). Please use fill_time='alloc' if
    the change is a problem for you.
  ## Exposing HDF5 functions
  * Expose fill time option in dataset creation property list via
    the fill_time parameter in create_dataset() (PR 2463).
  ## Bug fixes
  * Fix an error where native float16 support is not available (PR
    2422).
  * Fixed values of H5F_close_degree_t enum (PR 2433).
  * External links are now accessed with libhdf5’s default access
    properties (PR 2433).
  * Fix the iteration order for the root group in a file with
    creation order tracked (PR 2410).
  * Fixed some deprecation warnings from NumPy (PR 2416).
 ## Building h5py
  * Require a newer version of mpi4py for Python 3.12 (PR 2418).
  * The test suite is now configured to fail on unexpected warnings
    (PR 2428).
  * The generated Cython wrapper code (defs.* & _hdf5.pxd) is now
    specific to the version of HDF5 it’s building for. If the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=56
2024-11-15 19:21:12 +00:00
4 changed files with 52 additions and 11 deletions

Binary file not shown.

3
h5py-3.12.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf
size 411457

View File

@@ -1,3 +1,43 @@
-------------------------------------------------------------------
Fri Nov 15 19:11:37 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 3.12.1
## Breaking changes
* Support for Python 3.8 was dropped (PR 2471). Python 3.9 or
newer is required to build or install h5py 3.12.
* The minimum supported version of HDF5 was increased to 1.10.6
(PR 2486). If you need h5py on HDF5 1.10.4 or .5, please use
h5py 3.11.
* The fill time for chunked storage was previously set to
h5d.FILL_TIME_ALLOC. Now this the default comes from HDF5,
which uses h5d.FILL_TIME_IFSET (equivalent to
fill_time='ifset') (PR 2463). Please use fill_time='alloc' if
the change is a problem for you.
## Exposing HDF5 functions
* Expose fill time option in dataset creation property list via
the fill_time parameter in create_dataset() (PR 2463).
## Bug fixes
* Fix an error where native float16 support is not available (PR
2422).
* Fixed values of H5F_close_degree_t enum (PR 2433).
* External links are now accessed with libhdf5s default access
properties (PR 2433).
* Fix the iteration order for the root group in a file with
creation order tracked (PR 2410).
* Fixed some deprecation warnings from NumPy (PR 2416).
## Building h5py
* Require a newer version of mpi4py for Python 3.12 (PR 2418).
* The test suite is now configured to fail on unexpected warnings
(PR 2428).
* The generated Cython wrapper code (defs.* & _hdf5.pxd) is now
specific to the version of HDF5 its building for. If the
version of HDF5 has changed, api_gen.py should be run
automatically to recreate this (PR 2479, PR 2480).
* Various PRs modernising & cleaning up old Cython code, see the
3.12 milestone on Github for details.
- Don't %requires_eq libhdf5{%?my_suffix}: not a package but a
capability of e.g. libhdf5-200 -- boo#1196682
-------------------------------------------------------------------
Mon Jul 8 06:51:52 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -48,7 +48,7 @@
%endif
# /SECTION MPI DEFINITIONS
Name: %{pname}%{?my_suffix}
Version: 3.11.0
Version: 3.12.1
Release: 0
Summary: Python interface to the Hierarchical Data Format library
License: BSD-3-Clause
@@ -56,24 +56,25 @@ Group: Development/Libraries/Python
URL: https://github.com/h5py/h5py
Source: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz
BuildRequires: %{python_module Cython >= 0.29 with %python-Cython < 4}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy-devel >= 1.17.3}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module numpy-devel >= 1.19.3}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pkgconfig}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 61}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: hdf5%{?my_suffix}-devel
BuildRequires: hdf5%{?my_suffix}-devel >= 1.10.6
BuildRequires: python-rpm-macros
%requires_eq hdf5%{?my_suffix}
%requires_eq libhdf5%{?my_suffix}
Requires: python-numpy >= 1.17.3
# Work around requires_eq not finding the capability libhdf5. Need the Requires before the macro for the python subpackage rewriter
Requires: %(rpm -q --requires hdf5%{?my_suffix}-devel | grep 'libhdf5.* = ' | head -n 1)
Requires: python-numpy >= 1.19.3
%if %{with mpi}
BuildRequires: %{mpi_flavor}%{mpi_vers}-devel
BuildRequires: %{python_module mpi4py >= 3.1.1 if %python-base < 3.11}
BuildRequires: %{python_module mpi4py >= 3.1.4 if %python-base >= 3.11}
BuildRequires: %{python_module mpi4py >= 3.1.6 if %python-base >= 3.12}
BuildRequires: %{python_module pytest-mpi}
BuildRequires: %{python_module mpi4py >= 3.1.4 if (%python-base >= 3.11 and %python-base < 3.12)}
Requires: python-mpi4py >= 3.1.1
%endif
%python_subpackages