Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-h5py for openSUSE:Factory checked in at 2021-02-19 23:44:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-h5py (Old) and /work/SRC/openSUSE:Factory/.python-h5py.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-h5py" Fri Feb 19 23:44:54 2021 rev:19 rq:873639 version:3.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-h5py/python-h5py.changes 2021-01-20 18:29:37.671639151 +0100 +++ /work/SRC/openSUSE:Factory/.python-h5py.new.28504/python-h5py.changes 2021-02-19 23:45:37.739384785 +0100 @@ -1,0 +2,9 @@ +Thu Feb 18 19:40:45 UTC 2021 - Ben Greiner <[email protected]> + +- Skip python36 build. NumPy 1.20 in Tumbleweed dropped support for + Python 3.6 (NEP 29) +- Fix sitearch handling between regular and mpi builds suitable for + singlespec with multiple python3 flavors +- Refine requirement versions based on Python version + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-h5py.spec ++++++ --- /var/tmp/diff_new_pack.VU3xJb/_old 2021-02-19 23:45:38.279385314 +0100 +++ /var/tmp/diff_new_pack.VU3xJb/_new 2021-02-19 23:45:38.283385318 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-h5py # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -54,17 +54,20 @@ %define my_libdir %{my_prefix}/%{_lib} %define my_incdir %{my_prefix}/include %define my_suffix -%{mpi_flavor}%{?mpi_vers} +%define my_sitearch_in_expand %{my_libdir}/python%{$python_version}/site-packages %else %define my_prefix %{_prefix} %define my_bindir %{_bindir} %define my_libdir %{_libdir} %define my_incdir %{_includedir} %define my_datadir %{_datadir} +%define my_sitearch_in_expand %{$python_sitearch} %endif # /SECTION MPI DEFINITIONS %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 Name: %{pname}%{?my_suffix} Version: 3.1.0 Release: 0 @@ -75,20 +78,30 @@ Source: https://files.pythonhosted.org/packages/source/h/h5py/h5py-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE python-h5py-relax-dependency-versions.patch [email protected] -- Build against newer version of numpy Patch0: python-h5py-relax-dependency-versions.patch -BuildRequires: %{python_module cached-property} -BuildRequires: %{python_module Cython >= 0.23} +BuildRequires: %{python_module Cython >= 0.29} BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel >= 1.12} BuildRequires: %{python_module pkgconfig} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: hdf5%{?my_suffix}-devel BuildRequires: python-rpm-macros +BuildRequires: %{python_module Cython >= 0.29.14 if (%python-base >= 3.8)} +BuildRequires: %{python_module Cython >= 0.29.15 if (%python-base >= 3.9)} +BuildRequires: %{python_module cached-property if (%python-base < 3.8)} +BuildRequires: %{python_module numpy-devel >= 1.17.5 if (%python-base >= 3.8)} +BuildRequires: %{python_module numpy-devel >= 1.19.3 if (%python-base >= 3.9)} Requires: hdf5%{?my_suffix} +%if 0%{python_version_nodots} >= 39 +Requires: python-numpy >= 1.19.3 +%else +%if 0%{python_version_nodots} >= 38 +Requires: python-numpy >= 1.17.5 +%else Requires: python-numpy >= 1.12 -Requires: python-six +%endif +%endif %requires_eq libhdf5%{?my_suffix} %if %python_version_nodots < 38 Requires: python-cached-property @@ -127,21 +140,23 @@ %else %python_install %endif -%python_expand %fdupes %{buildroot}%{my_libdir}/python%{python_version}/site-packages/h5py/ +%python_expand %fdupes %{buildroot}%{my_sitearch_in_expand}/h5py/ %check -# Offset test fails on 32-bit +%{python_expand # Offset test fails on 32-bit %if %{with mpi} source %{my_bindir}/mpivars.sh %endif export LD_LIBRARY_PATH=%{my_libdir} -export PYTHONPATH=%{buildroot}%{my_libdir}/python%{python_version}/site-packages +export PYTHONPATH=%{buildroot}%{my_sitearch_in_expand} export PYTHONDONTWRITEBYTECODE=1 +pytest-%{$python_bin_suffix} %{buildroot}%{my_sitearch_in_expand}/h5py/ \ %ifarch %{ix86} -pytest-%{python_version} %{buildroot}%{my_libdir}/python%{python_version}/site-packages/h5py/ %{?with_mpi:-k 'not test_float_round_tripping'}%{!?with_mpi:-k 'not (TestMPI or test_float_round_tripping)'} + %{?with_mpi:-k 'not test_float_round_tripping'}%{!?with_mpi:-k 'not (TestMPI or test_float_round_tripping)'} %else -pytest-%{python_version} %{buildroot}%{my_libdir}/python%{python_version}/site-packages/h5py/ %{!?with_mpi:-k 'not TestMPI'} + %{!?with_mpi:-k 'not TestMPI'} %endif +} %files %{python_files} %license lzf/LICENSE.txt @@ -149,8 +164,11 @@ %if %{with mpi} %dir %{my_libdir}/python%{python_version} %dir %{my_libdir}/python%{python_version}/site-packages +%{my_libdir}/python%{python_version}/site-packages/h5py +%{my_libdir}/python%{python_version}/site-packages/h5py-%{version}*-info +%else +%{python_sitearch}/h5py/ +%{python_sitearch}/h5py-%{version}*-info %endif -%{my_libdir}/python%{python_version}/site-packages/h5py/ -%{my_libdir}/python%{python_version}/site-packages/h5py-%{version}-py*.egg-info %changelog
