python310Packages.ml-dtypes: 0.2.0 -> 0.3.0
This commit is contained in:
parent
117a285bd3
commit
935250a394
|
@ -11,16 +11,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ml-dtypes";
|
pname = "ml-dtypes";
|
||||||
version = "0.2.0";
|
version = "0.3.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jax-ml";
|
owner = "jax-ml";
|
||||||
repo = "ml_dtypes";
|
repo = "ml_dtypes";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-eqajWUwylIYsS8gzEaCZLLr+1+34LXWhfKBjuwsEhhI=";
|
hash = "sha256-crBTPQeRjgykkIpWx95ypyDeA/RRjWIasg9MR2r2yIU=";
|
||||||
# Since this upstream patch (https://github.com/jax-ml/ml_dtypes/commit/1bfd097e794413b0d465fa34f2eff0f3828ff521),
|
# Since this upstream patch (https://github.com/jax-ml/ml_dtypes/commit/1bfd097e794413b0d465fa34f2eff0f3828ff521),
|
||||||
# the attempts to use the nixpkgs packaged eigen dependency have failed.
|
# the attempts to use the nixpkgs packaged eigen dependency have failed.
|
||||||
# Hence, we rely on the bundled eigen library.
|
# Hence, we rely on the bundled eigen library.
|
||||||
|
@ -31,8 +31,9 @@ buildPythonPackage rec {
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "numpy~=1.21.2" "numpy" \
|
--replace "numpy~=1.21.2" "numpy" \
|
||||||
--replace "numpy~=1.23.3" "numpy" \
|
--replace "numpy~=1.23.3" "numpy" \
|
||||||
--replace "pybind11~=2.10.0" "pybind11" \
|
--replace "numpy~=1.26.0" "numpy" \
|
||||||
--replace "setuptools~=67.6.0" "setuptools"
|
--replace "pybind11~=2.11.1" "pybind11" \
|
||||||
|
--replace "setuptools~=68.1.0" "setuptools"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue