On Fri 22/10/2021 09:55, Martin Reindl wrote: > Am 22.10.2021 um 09:49 schrieb Stuart Henderson: > > Only issue in the i386 build was math/py-h5py which specifically wants > > 1.16.5. > > > > Yes, this is one patch which can go away with newer numpy.
That is not entirely true. When building, py-h5py checks for a specific version of py-numpy. Diff below fixes this by checking for a minimum version similar to RUN_REQUIRES in setup.py. BTW 'make test' fails because of a py-numpy related issue. This happens with both py-numpy-1.16.5 and py-numpy-1.19.5. Have you seen this before? Both test logs attached. OK for the diff below? diff --git Makefile Makefile index c80e7dc901c..2446dbf6527 100644 --- Makefile +++ Makefile @@ -3,6 +3,7 @@ COMMENT = pythonic interface to the HDF5 binary data format MODPY_EGG_VERSION = 3.3.0 +REVISION = 0 DISTNAME = h5py-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = math diff --git patches/patch-setup_py patches/patch-setup_py index 2f72bbaee14..f7c2ac16529 100644 --- patches/patch-setup_py +++ patches/patch-setup_py @@ -15,3 +15,12 @@ Index: setup.py ] # these are required to use h5py +@@ -49,7 +48,7 @@ SETUP_REQUIRES = [ + "Cython >=0.29.14; python_version=='3.8'", + "Cython >=0.29.15; python_version>='3.9'", + ] + [ +- f"numpy =={np_min}; python_version{py_condition}" ++ f"numpy >={np_min}; python_version{py_condition}" + for np_min, py_condition in NUMPY_MIN_VERSIONS + ] +