Skip to content

Commit

Permalink
python310Packages.ml-dtypes: relax build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Aug 23, 2023
1 parent 49c22f4 commit f13d239
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/python-modules/ml-dtypes/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ buildPythonPackage rec {
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 = [
setuptools
pybind11
Expand Down

0 comments on commit f13d239

Please sign in to comment.