Skip to content

Commit f13d239

Browse files
committed
python310Packages.ml-dtypes: relax build deps
1 parent 49c22f4 commit f13d239

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkgs/development/python-modules/ml-dtypes/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ buildPythonPackage rec {
2727
fetchSubmodules = true;
2828
};
2929

30+
postPatch = ''
31+
substituteInPlace pyproject.toml \
32+
--replace "numpy~=1.21.2" "numpy" \
33+
--replace "numpy~=1.23.3" "numpy" \
34+
--replace "pybind11~=2.10.0" "pybind11" \
35+
--replace "setuptools~=67.6.0" "setuptools"
36+
'';
37+
3038
nativeBuildInputs = [
3139
setuptools
3240
pybind11

0 commit comments

Comments
 (0)