mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user