Unverified Commit 92080df3 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.ml-dtypes: 0.5.3 -> 0.5.4 (#462842)

parents 896ec873 fce0b870
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -16,25 +16,20 @@

buildPythonPackage rec {
  pname = "ml-dtypes";
  version = "0.5.3";
  version = "0.5.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "jax-ml";
    repo = "ml_dtypes";
    tag = "v${version}";
    hash = "sha256-y0w+8h6KMYf6ZvlP3rEVt1I11jkbNNuJDIvfNFFaBQE=";
    hash = "sha256-vGCDLs7Te/3fBZmCQVp2Zm5NnP7K/KCkTod0oFVVKN4=";
    # Since this upstream patch (https://github.com/jax-ml/ml_dtypes/commit/1bfd097e794413b0d465fa34f2eff0f3828ff521),
    # the attempts to use the nixpkgs packaged eigen dependency have failed.
    # Hence, we rely on the bundled eigen library.
    fetchSubmodules = true;
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools~=80.8.0" "setuptools"
  '';

  build-system = [ setuptools ];

  dependencies = [ numpy ];