From 4b4ec03998e89003b11692ff7f7dad2453432f4e Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 14 May 2024 09:42:50 -0600 Subject: [PATCH] package/python-ml-dtypes: skip dependency check This package pins overly strict numpy dependency versions apparently for compatibility reasons that don't appear relevant to buildroot. This package also appears to pin an overly strict setuptools version for unclear reasons. See: https://github.com/jax-ml/ml_dtypes/blob/v0.3.2/pyproject.toml#L51-L55 To fix this lets just set the --skip-dependency-check build option and ignore the build dependency version mismatches since they don't appear to cause any build issues. This error was introduced when we migrated setuptools to pep517 in 8937db8dd595e0988751e5dbb568e870b07b39cc. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/6888691520 Signed-off-by: James Hilliard Tested-by: Julien Olivain [Romain: add gitlab-ci link] Signed-off-by: Romain Naour --- package/python-ml-dtypes/python-ml-dtypes.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/python-ml-dtypes/python-ml-dtypes.mk b/package/python-ml-dtypes/python-ml-dtypes.mk index 676137ecf1..8097265078 100644 --- a/package/python-ml-dtypes/python-ml-dtypes.mk +++ b/package/python-ml-dtypes/python-ml-dtypes.mk @@ -10,6 +10,7 @@ PYTHON_ML_DTYPES_SITE = https://files.pythonhosted.org/packages/39/7d/8d85fcba86 PYTHON_ML_DTYPES_LICENSE = Apache-2.0 PYTHON_ML_DTYPES_LICENSE_FILES = LICENSE PYTHON_ML_DTYPES_SETUP_TYPE = setuptools +PYTHON_ML_DTYPES_BUILD_OPTS = --skip-dependency-check PYTHON_ML_DTYPES_DEPENDENCIES = \ host-python-numpy \