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
8937db8dd5.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/6888691520

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Tested-by: Julien Olivain <ju.o@free.fr>
[Romain: add gitlab-ci link]
Signed-off-by: Romain Naour <romain.naour@smile.fr>
This commit is contained in:
James Hilliard 2024-05-14 09:42:50 -06:00 committed by Romain Naour
parent 47078cc118
commit 4b4ec03998

View File

@ -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 \