Unverified Commit 52185213 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #270895 from NixOS/backport-270506-to-release-23.11

[Backport release-23.11] python311Packages.hdbscan: fix build
parents a10facb7 0f45ffca
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -20,18 +20,6 @@ buildPythonPackage rec {
    inherit pname version;
    hash = "sha256-V/q8Xw5F9I0kB7NccxGSq8iWN2QR/n5LuDb/oD04+Q0=";
  };
  patches = [
    # should be included in next release
    (fetchpatch {
      name = "joblib-1.2.0-compat.patch";
      url = "https://github.com/scikit-learn-contrib/hdbscan/commit/d829c639923f6866e1917e46ddbde45b513913f3.patch";
      excludes = [
        "docs/basic_hdbscan.rst"
        "docs/how_hdbscan_works.rst"
      ];
      hash = "sha256-t0D4OsHEcMwmBZM8Mk1N0uAKi6ra+TOzEks9/efsvWI=";
    })
  ];

  pythonRemoveDeps = [ "cython" ];
  nativeBuildInputs = [ pythonRelaxDepsHook cython ];