python3Packages.hdbscan: Patch out runtime Cython dependency

Upstream declares a dependency on Cython at runtime, but that's not a
true requirements. Remove it so that derivations depending on this one
can build without pip complaining that Cython cannot be found.
This commit is contained in:
George Macon
2022-09-30 20:21:44 +02:00
committed by Frederik Rietdijk
parent f95f16a312
commit 9d3554c59d
@@ -9,6 +9,7 @@
, fetchPypi
, joblib
, six
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
@@ -28,7 +29,8 @@ buildPythonPackage rec {
})
];
nativeBuildInputs = [ cython ];
pythonRemoveDeps = [ "cython" ];
nativeBuildInputs = [ pythonRelaxDepsHook cython ];
propagatedBuildInputs = [ numpy scipy scikit-learn joblib six ];
preCheck = ''
cd hdbscan/tests