python310Packages.ml-dtypes: relax build deps

This commit is contained in:
Martin Weinelt 2023-08-23 22:53:02 +02:00
parent 49c22f4b19
commit f13d239861
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -27,6 +27,14 @@ buildPythonPackage rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace "numpy~=1.21.2" "numpy" \
--replace "numpy~=1.23.3" "numpy" \
--replace "pybind11~=2.10.0" "pybind11" \
--replace "setuptools~=67.6.0" "setuptools"
'';
nativeBuildInputs = [ nativeBuildInputs = [
setuptools setuptools
pybind11 pybind11